Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 102.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002688/0.002688, allocations: 282.3 kB / 303 MB, free: 3.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 180.9 MB / 0.5262 GB, free: 2.77 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003205/0.003205, allocations: 103.8 kB / 0.7248 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6162, allocations: 94.16 MB / 0.8167 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2485/0.8647, allocations: 194.5 MB / 1.007 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.8757, allocations: 5.156 MB / 1.012 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.8775, allocations: 51.62 kB / 1.012 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.8799, allocations: 0.8315 MB / 1.013 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007921/0.8879, allocations: 2.688 MB / 1.015 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.8915, allocations: 1.11 MB / 1.016 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004536/0.896, allocations: 2.622 MB / 1.019 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.8979, allocations: 0.7674 MB / 1.02 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.9011, allocations: 1.121 MB / 1.021 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.903, allocations: 1.016 MB / 1.022 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.9032, allocations: 80 kB / 1.022 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.9075, allocations: 1.902 MB / 1.024 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.9081, allocations: 446.5 kB / 1.024 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000911/0.909, allocations: 0.6449 MB / 1.025 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/0.9136, allocations: 2.156 MB / 1.027 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9137, allocations: 0 / 1.027 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9137, allocations: 0 / 1.027 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.9137, allocations: 0 / 1.027 GB, free: 9.387 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005272/0.9189, allocations: 1.985 MB / 1.029 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.919, allocations: 8.031 kB / 1.029 GB, free: 7.34 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.9192, allocations: 139.4 kB / 1.029 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.923, allocations: 0.6701 MB / 1.03 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.925, allocations: 0.9538 MB / 1.03 GB, free: 5.512 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.9251, allocations: 73.98 kB / 1.031 GB, free: 5.441 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.9253, allocations: 83.98 kB / 1.031 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.9287, allocations: 1.474 MB / 1.032 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.9287, allocations: 0 / 1.032 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.9288, allocations: 36 kB / 1.032 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.9289, allocations: 49.98 kB / 1.032 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004033/0.9329, allocations: 1.526 MB / 1.034 GB, free: 2.199 MB / 0.7637 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.008859/0.9418, allocations: 5.488 MB / 1.039 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.9454, allocations: 1.237 MB / 1.04 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.9471, allocations: 0.6272 MB / 1.041 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/0.9481, allocations: 0.5773 MB / 1.041 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001932/0.95, allocations: 0.7146 MB / 1.042 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=80): time 4.629e-06/0.95, allocations: 3.984 kB / 1.042 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of matching and sorting (n=80): time 0.005704/0.9557, allocations: 1.883 MB / 1.044 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.9558, allocations: 68 kB / 1.044 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.9578, allocations: 1.235 MB / 1.045 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.9579, allocations: 45.7 kB / 1.045 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.9585, allocations: 0.5877 MB / 1.046 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.9588, allocations: 289.6 kB / 1.046 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.9591, allocations: 182.6 kB / 1.046 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.9593, allocations: 345.9 kB / 1.047 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.9609, allocations: 0.5367 MB / 1.047 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.9628, allocations: 0.8213 MB / 1.048 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.9661, allocations: 1.324 MB / 1.049 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.9661, allocations: 0 / 1.049 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004025/0.9701, allocations: 1.503 MB / 1.051 GB, free: 52 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.9702, allocations: 9.562 kB / 1.051 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.9702, allocations: 8 kB / 1.051 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.591e-05/0.9702, allocations: 16.73 kB / 1.051 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.9717, allocations: 295.5 kB / 1.051 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/0.9717, allocations: 16 kB / 1.051 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.9733, allocations: 203 kB / 1.051 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.9734, allocations: 51.97 kB / 1.051 GB, free: 15.46 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0007713/0.9742, allocations: 335.7 kB / 1.052 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.9746, allocations: 147 kB / 1.052 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.9787, allocations: 1.408 MB / 1.053 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.9787, allocations: 8 kB / 1.053 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.9788, allocations: 96 / 1.053 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.9788, allocations: 7.922 kB / 1.053 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.9856, allocations: 2.799 MB / 1.056 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.9856, allocations: 15.97 kB / 1.056 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.9869, allocations: 223.7 kB / 1.056 GB, free: 10.42 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.676e-05/0.9869, allocations: 8 kB / 1.056 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/0.9869, allocations: 23.98 kB / 1.056 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.52e-05/0.987, allocations: 11.98 kB / 1.056 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/0.987, allocations: 7.938 kB / 1.056 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/0.9926, allocations: 2.249 MB / 1.058 GB, free: 8.055 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/0.9934, allocations: 307.9 kB / 1.059 GB, free: 7.734 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/0.9937, allocations: 19.98 kB / 1.059 GB, free: 7.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9948, allocations: 111.9 kB / 1.059 GB, free: 7.605 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.995, allocations: 64.36 kB / 1.059 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.9951, allocations: 39.97 kB / 1.059 GB, free: 7.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001329/0.9964, allocations: 0.8522 MB / 1.06 GB, free: 6.645 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.9964, allocations: 0 / 1.06 GB, free: 6.645 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00123/0.9976, allocations: 319.7 kB / 1.06 GB, free: 6.332 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.007823/1.005, allocations: 3.238 MB / 1.063 GB, free: 3.207 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003736/1.009, allocations: 1.247 MB / 1.064 GB, free: 1.961 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.009, allocations: 0 / 1.064 GB, free: 1.961 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.011, allocations: 0.6247 MB / 1.065 GB, free: 1.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/1.014, allocations: 0.5953 MB / 1.066 GB, free: 0.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.036, allocations: 10.98 MB / 1.076 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.037, allocations: 1.167 MB / 1.077 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001347/1.039, allocations: 349.9 kB / 1.078 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008428/1.04, allocations: 0.4993 MB / 1.078 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/1.04, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0801/1.12, allocations: 34.12 MB / 1.112 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.6, allocations: 9.875 kB / 1.112 GB, free: 1.637 MB / 0.8419 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.714758939575404] Failed to read output from testmodel.py, exit status != 0: 11.744370352942497 11.7571478 10.840450748 Calling exit ...