Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 218.9 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002456/0.002456, allocations: 278.2 kB / 312.7 MB, free: 2.77 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.23/1.23, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 107.1 kB / 0.7396 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2071, allocations: 95.39 MB / 0.8328 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.721/0.928, allocations: 197.8 MB / 1.026 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009005/0.937, allocations: 5.284 MB / 1.031 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.9391, allocations: 66.09 kB / 1.031 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.9413, allocations: 0.8369 MB / 1.032 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008441/0.9498, allocations: 2.781 MB / 1.035 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.953, allocations: 1.06 MB / 1.036 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004109/0.9571, allocations: 2.746 MB / 1.038 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.9585, allocations: 0.7661 MB / 1.039 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.9613, allocations: 1.176 MB / 1.04 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.9632, allocations: 1.069 MB / 1.041 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.9633, allocations: 86.5 kB / 1.041 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.9675, allocations: 1.956 MB / 1.043 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/0.9681, allocations: 467.6 kB / 1.044 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009365/0.969, allocations: 0.6702 MB / 1.044 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/0.9734, allocations: 2.237 MB / 1.047 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9734, allocations: 0 / 1.047 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9734, allocations: 3.75 kB / 1.047 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.9734, allocations: 0 / 1.047 GB, free: 1.992 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005297/0.9787, allocations: 1.946 MB / 1.049 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.9787, allocations: 10.59 kB / 1.049 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.9789, allocations: 144.9 kB / 1.049 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.9842, allocations: 0.9053 MB / 1.05 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.9863, allocations: 0.9082 MB / 1.05 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.9863, allocations: 69.8 kB / 1.051 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.9865, allocations: 93.98 kB / 1.051 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.9904, allocations: 1.579 MB / 1.052 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.9904, allocations: 0 / 1.052 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.9905, allocations: 33.7 kB / 1.052 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.9906, allocations: 53.31 kB / 1.052 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004789/0.9954, allocations: 1.85 MB / 1.054 GB, free: 16.44 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008041/1.003, allocations: 4.689 MB / 1.059 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00399/1.007, allocations: 1.517 MB / 1.06 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/1.01, allocations: 0.815 MB / 1.061 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009087/1.01, allocations: 204.3 kB / 1.061 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/1.013, allocations: 0.9128 MB / 1.062 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.705e-06/1.013, allocations: 0 / 1.062 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.00729/1.02, allocations: 2.47 MB / 1.064 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/1.02, allocations: 59.78 kB / 1.064 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.022, allocations: 1.23 MB / 1.066 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/1.022, allocations: 49.66 kB / 1.066 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000516/1.022, allocations: 0.5552 MB / 1.066 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/1.023, allocations: 343.1 kB / 1.067 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/1.023, allocations: 186.2 kB / 1.067 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.023, allocations: 341.1 kB / 1.067 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/1.025, allocations: 0.7011 MB / 1.068 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/1.028, allocations: 0.9078 MB / 1.069 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004153/1.032, allocations: 1.55 MB / 1.07 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.032, allocations: 2.812 kB / 1.07 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004973/1.037, allocations: 1.791 MB / 1.072 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.037, allocations: 8.281 kB / 1.072 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.037, allocations: 4.75 kB / 1.072 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.037, allocations: 8.688 kB / 1.072 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.039, allocations: 347.3 kB / 1.072 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/1.039, allocations: 13.94 kB / 1.072 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.04, allocations: 237.1 kB / 1.073 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.04, allocations: 47.09 kB / 1.073 GB, free: 6.777 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006993/1.041, allocations: 335.5 kB / 1.073 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/1.041, allocations: 151.6 kB / 1.073 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004892/1.046, allocations: 1.838 MB / 1.075 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.046, allocations: 10.34 kB / 1.075 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.046, allocations: 0 / 1.075 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.046, allocations: 3.984 kB / 1.075 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007384/1.054, allocations: 3.343 MB / 1.078 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.054, allocations: 7.984 kB / 1.078 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.055, allocations: 299.8 kB / 1.078 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.055, allocations: 8 kB / 1.078 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/1.055, allocations: 31.97 kB / 1.078 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/1.055, allocations: 11.09 kB / 1.078 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.055, allocations: 8 kB / 1.078 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/1.063, allocations: 2.874 MB / 1.081 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/1.063, allocations: 258.7 kB / 1.081 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/1.063, allocations: 23.98 kB / 1.082 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/1.065, allocations: 162.1 kB / 1.082 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.065, allocations: 76.53 kB / 1.082 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/1.065, allocations: 39.97 kB / 1.082 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001207/1.066, allocations: 0.8517 MB / 1.083 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.066, allocations: 8 kB / 1.083 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0011/1.067, allocations: 347.6 kB / 1.083 GB, free: 13.85 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009252/1.077, allocations: 3.836 MB / 1.087 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004847/1.081, allocations: 1.597 MB / 1.088 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.082, allocations: 0 / 1.088 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/1.084, allocations: 0.8172 MB / 1.089 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.087, allocations: 0.6082 MB / 1.09 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/1.111, allocations: 12.19 MB / 1.102 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008545/1.112, allocations: 1.201 MB / 1.103 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001362/1.113, allocations: 370.2 kB / 1.103 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008193/1.114, allocations: 0.5071 MB / 1.104 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of SimCode: time 6.61e-07/1.114, allocations: 0 / 1.104 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08189/1.196, allocations: 36.95 MB / 1.14 GB, free: 4.141 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/17.72, allocations: 4 kB / 1.14 GB, free: 4.137 MB / 0.795 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.04745287098922] Failed to read output from testmodel.py, exit status != 0: 17.90360682294704 17.929741963 16.95107261 Calling exit ...