Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0007312/0.0007312, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007422/0.0007422, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8657/0.8657, allocations: 177.1 MB / 202.7 MB, free: 5.746 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.001498/0.001498, allocations: 233.6 kB / 259.4 MB, free: 13.02 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.6562/0.6562, allocations: 138.4 MB / 454.3 MB, free: 29.97 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.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.215e-05, allocations: 10.16 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3571/0.3571, allocations: 171.6 MB / 0.8139 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.008223/0.3653, allocations: 6.577 MB / 0.8203 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.3671, allocations: 67.38 kB / 0.8204 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.3688, allocations: 0.6906 MB / 0.8211 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004637/0.3734, allocations: 2.472 MB / 0.8235 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.376, allocations: 1.523 MB / 0.825 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003464/0.3794, allocations: 3.012 MB / 0.8279 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.3806, allocations: 0.6971 MB / 0.8286 GB, free: 260 kB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.3834, allocations: 1.498 MB / 0.8301 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.3845, allocations: 0.7318 MB / 0.8308 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.3846, allocations: 104 kB / 0.8309 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.3872, allocations: 1.714 MB / 0.8326 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.3876, allocations: 398.6 kB / 0.8329 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.3881, allocations: 391 kB / 0.8333 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.392, allocations: 2.45 MB / 0.8357 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.392, allocations: 0 / 0.8357 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.114e-06/0.392, allocations: 0 / 0.8357 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.881e-05/0.3921, allocations: 4 kB / 0.8357 GB, free: 8.984 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002665/0.3947, allocations: 1.59 MB / 0.8373 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3948, allocations: 9.938 kB / 0.8373 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.3949, allocations: 110.5 kB / 0.8374 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3965, allocations: 0.5377 MB / 0.8379 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.3981, allocations: 0.9675 MB / 0.8388 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.3982, allocations: 57.3 kB / 0.8389 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.3983, allocations: 67.69 kB / 0.839 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.3999, allocations: 1.242 MB / 0.8402 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3999, allocations: 0 / 0.8402 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.3999, allocations: 28 kB / 0.8402 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.4, allocations: 41.23 kB / 0.8402 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4016, allocations: 1.189 MB / 0.8414 GB, free: 3.008 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.003865/0.4055, allocations: 2.875 MB / 0.8442 GB, free: 68 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4066, allocations: 0.682 MB / 0.8449 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.4071, allocations: 432.2 kB / 0.8453 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.4074, allocations: 128.4 kB / 0.8454 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.4081, allocations: 0.6476 MB / 0.846 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/0.4081, allocations: 4 kB / 0.846 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001873/0.4099, allocations: 1.281 MB / 0.8473 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.41, allocations: 144.9 kB / 0.8474 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.4113, allocations: 1.184 MB / 0.8486 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.4113, allocations: 37.7 kB / 0.8486 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.4116, allocations: 443.5 kB / 0.8491 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4117, allocations: 194.3 kB / 0.8492 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4119, allocations: 146.2 kB / 0.8494 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.412, allocations: 333.9 kB / 0.8497 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.4127, allocations: 474.7 kB / 0.8501 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/0.4135, allocations: 0.9862 MB / 0.8511 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.4147, allocations: 0.9267 MB / 0.852 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4147, allocations: 0 / 0.852 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001832/0.4165, allocations: 1.246 MB / 0.8532 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.4165, allocations: 37.69 kB / 0.8533 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4165, allocations: 4 kB / 0.8533 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4166, allocations: 8 kB / 0.8533 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.417, allocations: 188 kB / 0.8535 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.417, allocations: 8 kB / 0.8535 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008148/0.4178, allocations: 251.1 kB / 0.8537 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.4179, allocations: 43.34 kB / 0.8537 GB, free: 5.914 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004041/0.4183, allocations: 324.8 kB / 0.8541 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.4185, allocations: 123.2 kB / 0.8542 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.4197, allocations: 1.034 MB / 0.8552 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.4197, allocations: 8 kB / 0.8552 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4197, allocations: 0 / 0.8552 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4198, allocations: 7.984 kB / 0.8552 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.4228, allocations: 3.009 MB / 0.8581 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4228, allocations: 8.594 kB / 0.8581 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4231, allocations: 123.8 kB / 0.8583 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.4231, allocations: 12 kB / 0.8583 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.4231, allocations: 20 kB / 0.8583 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.4231, allocations: 23.86 kB / 0.8583 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4231, allocations: 8 kB / 0.8583 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.4245, allocations: 1.379 MB / 0.8597 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.4249, allocations: 251 kB / 0.8599 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.425, allocations: 24 kB / 0.8599 GB, free: 15.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.4256, allocations: 99.91 kB / 0.86 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.4257, allocations: 67.67 kB / 0.8601 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.4257, allocations: 43.97 kB / 0.8601 GB, free: 15.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000912/0.4266, allocations: 0.8482 MB / 0.861 GB, free: 14.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.4266, allocations: 0 / 0.861 GB, free: 14.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008327/0.4275, allocations: 299.6 kB / 0.8612 GB, free: 13.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * 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.002041/0.4295, allocations: 2.155 MB / 0.8634 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.431, allocations: 1.041 MB / 0.8644 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.431, allocations: 0 / 0.8644 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.4315, allocations: 0.5063 MB / 0.8649 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.4332, allocations: 0.5561 MB / 0.8654 GB, free: 9.551 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.4441, allocations: 9.609 MB / 0.8748 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.4444, allocations: 478.6 kB / 0.8752 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007557/0.4452, allocations: 273.2 kB / 0.8755 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.4455, allocations: 360.4 kB / 0.8759 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of SimCode: time 1.473e-06/0.4455, allocations: 0 / 0.8759 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.4897, allocations: 34.55 MB / 0.9096 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.809, allocations: 4.062 kB / 0.9096 GB, free: 12.48 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.289598563686013] Failed to read output from testmodel.py, exit status != 0: 7.901790765114129 7.909678062 7.515743486 Calling exit ...