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.0007237/0.0007237, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007026/0.0007026, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.7963/0.7963, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001399/0.001399, allocations: 241.7 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6422/0.6422, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 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: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.532e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3531/0.3531, allocations: 171.2 MB / 0.8135 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006538/0.3597, allocations: 5.019 MB / 0.8184 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.361, allocations: 67.38 kB / 0.8185 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.3628, allocations: 0.8077 MB / 0.8193 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005147/0.368, allocations: 2.787 MB / 0.822 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3699, allocations: 1.09 MB / 0.823 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.3726, allocations: 2.765 MB / 0.8257 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.3736, allocations: 0.7667 MB / 0.8265 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.3758, allocations: 1.465 MB / 0.8279 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3769, allocations: 0.9311 MB / 0.8288 GB, free: 20 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.3771, allocations: 88.7 kB / 0.8289 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.3793, allocations: 1.511 MB / 0.8304 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.3797, allocations: 490.4 kB / 0.8309 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.3802, allocations: 450.8 kB / 0.8313 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.383, allocations: 2.243 MB / 0.8335 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.383, allocations: 4 kB / 0.8335 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.364e-06/0.383, allocations: 0 / 0.8335 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.383, allocations: 0.6562 kB / 0.8335 GB, free: 11.24 MB / 0.6667 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.003243/0.3862, allocations: 1.942 MB / 0.8354 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3863, allocations: 13.94 kB / 0.8354 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.3864, allocations: 143.6 kB / 0.8355 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.3891, allocations: 0.9002 MB / 0.8364 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3904, allocations: 0.8764 MB / 0.8373 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.3905, allocations: 73.92 kB / 0.8373 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3906, allocations: 95.83 kB / 0.8374 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.3928, allocations: 1.591 MB / 0.839 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.3928, allocations: 3.938 kB / 0.839 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/0.3928, allocations: 39.94 kB / 0.839 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.3929, allocations: 45.98 kB / 0.8391 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.3957, allocations: 1.866 MB / 0.8409 GB, free: 3.531 MB / 0.6667 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.005129/0.4008, allocations: 3.97 MB / 0.8448 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.4032, allocations: 1.519 MB / 0.8462 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.4043, allocations: 0.8202 MB / 0.847 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.4048, allocations: 192.8 kB / 0.8472 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.4061, allocations: 0.9225 MB / 0.8481 GB, free: 12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.536e-06/0.4061, allocations: 0 / 0.8481 GB, free: 12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.00421/0.4103, allocations: 2.494 MB / 0.8506 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4104, allocations: 64.41 kB / 0.8506 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.4114, allocations: 1.261 MB / 0.8519 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/0.4115, allocations: 45.7 kB / 0.8519 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.4118, allocations: 0.5534 MB / 0.8524 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.412, allocations: 337.1 kB / 0.8528 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.4122, allocations: 190.6 kB / 0.8529 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.4123, allocations: 341.9 kB / 0.8533 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.4134, allocations: 0.7083 MB / 0.854 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.4146, allocations: 1.145 MB / 0.8551 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.4169, allocations: 1.562 MB / 0.8566 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.417, allocations: 0 / 0.8566 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002707/0.4197, allocations: 1.808 MB / 0.8584 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4197, allocations: 8 kB / 0.8584 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4197, allocations: 4 kB / 0.8584 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4197, allocations: 11.94 kB / 0.8584 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.4205, allocations: 335.8 kB / 0.8587 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4206, allocations: 13.08 kB / 0.8587 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.4214, allocations: 243 kB / 0.859 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.4214, allocations: 47.97 kB / 0.859 GB, free: 0.6211 MB / 0.6823 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.0004317/0.4219, allocations: 338.3 kB / 0.8593 GB, free: 292 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.422, allocations: 147 kB / 0.8595 GB, free: 144 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.4247, allocations: 1.866 MB / 0.8613 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4247, allocations: 8 kB / 0.8613 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4247, allocations: 0 / 0.8613 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.4247, allocations: 11.95 kB / 0.8613 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004255/0.429, allocations: 3.22 MB / 0.8645 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.429, allocations: 8.875 kB / 0.8645 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007872/0.4297, allocations: 308 kB / 0.8648 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.4298, allocations: 4 kB / 0.8648 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.4298, allocations: 35.97 kB / 0.8648 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.4298, allocations: 15.94 kB / 0.8648 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4298, allocations: 4 kB / 0.8648 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.4337, allocations: 2.913 MB / 0.8677 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.4342, allocations: 262.8 kB / 0.8679 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.4343, allocations: 24 kB / 0.8679 GB, free: 7.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.435, allocations: 151.8 kB / 0.8681 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4351, allocations: 80.75 kB / 0.8682 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.4351, allocations: 39.97 kB / 0.8682 GB, free: 7.051 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007481/0.4359, allocations: 0.8751 MB / 0.869 GB, free: 6.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4359, allocations: 0 / 0.869 GB, free: 6.172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007796/0.4367, allocations: 351.7 kB / 0.8694 GB, free: 5.828 MB / 0.698 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 (101): * Single equations (assignments): 95 * 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.00576/0.4424, allocations: 3.907 MB / 0.8732 GB, free: 2.082 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.4451, allocations: 1.617 MB / 0.8748 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4451, allocations: 0 / 0.8748 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.4464, allocations: 0.8302 MB / 0.8756 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.4482, allocations: 0.6209 MB / 0.8762 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.4631, allocations: 12.17 MB / 0.8881 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.4635, allocations: 0.6074 MB / 0.8887 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009464/0.4645, allocations: 369.9 kB / 0.889 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/0.465, allocations: 0.5159 MB / 0.8895 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of SimCode: time 1.563e-06/0.465, allocations: 0 / 0.8895 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.5125, allocations: 39.38 MB / 0.928 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.395, allocations: 3.125 kB / 0.928 GB, free: 10.28 MB / 0.7605 GB " [Timeout remaining time 651] (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: 11.041680473834276] Failed to read output from testmodel.py, exit status != 0: 8.50808695051819 8.728227642 8.342820668 Calling exit ...