Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001429/0.001429, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001617/0.001617, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.872/2.872, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001835/0.001835, allocations: 70.58 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.289, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2063/0.4953, allocations: 198.2 MB / 1.539 GB, free: 9.539 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.5055, allocations: 6.971 MB / 1.546 GB, free: 2.551 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.5066, allocations: 67.38 kB / 1.546 GB, free: 2.484 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.5081, allocations: 0.7181 MB / 1.546 GB, free: 1.762 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.5133, allocations: 2.475 MB / 1.549 GB, free: 15.28 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.5163, allocations: 1.497 MB / 1.55 GB, free: 13.8 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.52, allocations: 3.04 MB / 1.553 GB, free: 10.75 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.521, allocations: 0.7088 MB / 1.554 GB, free: 10.02 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.5244, allocations: 1.617 MB / 1.556 GB, free: 8.402 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.5257, allocations: 0.8402 MB / 1.556 GB, free: 7.566 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.5258, allocations: 100 kB / 1.556 GB, free: 7.469 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.5294, allocations: 2.167 MB / 1.559 GB, free: 5.297 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.5297, allocations: 382.7 kB / 1.559 GB, free: 4.922 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006037/0.5303, allocations: 0.5908 MB / 1.56 GB, free: 4.328 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.5336, allocations: 2.394 MB / 1.562 GB, free: 1.926 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5336, allocations: 3.984 kB / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5336, allocations: 0 / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.5336, allocations: 3.938 kB / 1.562 GB, free: 1.918 MB / 1.248 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.003239/0.5368, allocations: 1.602 MB / 1.563 GB, free: 280 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5369, allocations: 8.031 kB / 1.563 GB, free: 272 kB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.369e-05/0.5369, allocations: 17.31 kB / 1.563 GB, free: 256 kB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.537, allocations: 110.5 kB / 1.564 GB, free: 136 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/0.5398, allocations: 0.5416 MB / 1.564 GB, free: 15.59 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.542, allocations: 0.978 MB / 1.565 GB, free: 14.59 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.5421, allocations: 53.31 kB / 1.565 GB, free: 14.54 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5422, allocations: 68 kB / 1.565 GB, free: 14.47 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.5446, allocations: 1.109 MB / 1.566 GB, free: 13.33 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5446, allocations: 0 / 1.566 GB, free: 13.33 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.5447, allocations: 35.98 kB / 1.566 GB, free: 13.3 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.5447, allocations: 29.31 kB / 1.566 GB, free: 13.27 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.5477, allocations: 1.172 MB / 1.567 GB, free: 12.09 MB / 1.264 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.005504/0.5532, allocations: 3.109 MB / 1.57 GB, free: 8.91 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.5549, allocations: 0.6489 MB / 1.571 GB, free: 8.254 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/0.5556, allocations: 390.1 kB / 1.571 GB, free: 7.871 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.5562, allocations: 136.3 kB / 1.572 GB, free: 7.734 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.5572, allocations: 0.5139 MB / 1.572 GB, free: 7.199 MB / 1.264 GB Notification: Performance of pre-optimization done (n=57): time 3.336e-06/0.5572, allocations: 0 / 1.572 GB, free: 7.199 MB / 1.264 GB Notification: Performance of matching and sorting (n=57): time 0.003077/0.5603, allocations: 1.229 MB / 1.573 GB, free: 5.957 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.974e-05/0.5604, allocations: 144.9 kB / 1.573 GB, free: 5.785 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.5622, allocations: 1.176 MB / 1.575 GB, free: 4.594 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/0.5623, allocations: 37.7 kB / 1.575 GB, free: 4.551 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.5627, allocations: 437.8 kB / 1.575 GB, free: 4.121 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.5629, allocations: 202.3 kB / 1.575 GB, free: 3.922 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.5631, allocations: 154.2 kB / 1.575 GB, free: 3.766 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5633, allocations: 326 kB / 1.576 GB, free: 3.441 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.5645, allocations: 445 kB / 1.576 GB, free: 3.008 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.5658, allocations: 0.5941 MB / 1.577 GB, free: 2.363 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.5678, allocations: 0.9214 MB / 1.578 GB, free: 1.387 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5678, allocations: 0 / 1.578 GB, free: 1.387 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002954/0.5708, allocations: 1.197 MB / 1.579 GB, free: 176 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.5709, allocations: 41.69 kB / 1.579 GB, free: 128 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5709, allocations: 4 kB / 1.579 GB, free: 124 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5709, allocations: 11.94 kB / 1.579 GB, free: 112 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.5718, allocations: 188.1 kB / 1.579 GB, free: 15.92 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.5718, allocations: 11.94 kB / 1.579 GB, free: 15.91 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.5731, allocations: 247.1 kB / 1.579 GB, free: 15.67 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.5732, allocations: 35.98 kB / 1.579 GB, free: 15.63 MB / 1.279 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.000436/0.5736, allocations: 331.2 kB / 1.58 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.5738, allocations: 127.1 kB / 1.58 GB, free: 15.17 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.5759, allocations: 1 MB / 1.581 GB, free: 14.16 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.5759, allocations: 11.94 kB / 1.581 GB, free: 14.15 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5759, allocations: 0 / 1.581 GB, free: 14.15 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5759, allocations: 7.984 kB / 1.581 GB, free: 14.14 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/0.5806, allocations: 3.142 MB / 1.584 GB, free: 10.86 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5806, allocations: 12 kB / 1.584 GB, free: 10.84 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.5811, allocations: 124 kB / 1.584 GB, free: 10.72 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.5812, allocations: 8 kB / 1.584 GB, free: 10.71 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.5812, allocations: 27.98 kB / 1.584 GB, free: 10.69 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/0.5812, allocations: 11.98 kB / 1.584 GB, free: 10.68 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.5812, allocations: 11.94 kB / 1.584 GB, free: 10.66 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.5833, allocations: 1.355 MB / 1.585 GB, free: 9.191 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/0.5838, allocations: 258.9 kB / 1.586 GB, free: 8.938 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5839, allocations: 20 kB / 1.586 GB, free: 8.918 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.585, allocations: 103.9 kB / 1.586 GB, free: 8.816 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.5851, allocations: 67.67 kB / 1.586 GB, free: 8.75 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.5851, allocations: 43.97 kB / 1.586 GB, free: 8.707 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00139/0.5865, allocations: 0.8443 MB / 1.587 GB, free: 7.855 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.5865, allocations: 0 / 1.587 GB, free: 7.855 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009206/0.5875, allocations: 303.6 kB / 1.587 GB, free: 7.559 MB / 1.279 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.002851/0.5903, allocations: 2.13 MB / 1.589 GB, free: 5.312 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.5925, allocations: 0.9665 MB / 1.59 GB, free: 4.328 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5925, allocations: 0 / 1.59 GB, free: 4.328 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009033/0.5935, allocations: 492.8 kB / 1.59 GB, free: 3.836 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.596, allocations: 0.5518 MB / 1.591 GB, free: 3.297 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.612, allocations: 9.408 MB / 1.6 GB, free: 9.488 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.6127, allocations: 1.073 MB / 1.601 GB, free: 8.387 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009156/0.6136, allocations: 280.3 kB / 1.601 GB, free: 8.113 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.6142, allocations: 355.3 kB / 1.602 GB, free: 7.766 MB / 1.295 GB Notification: Performance of SimCode: time 8.92e-07/0.6142, allocations: 3.938 kB / 1.602 GB, free: 7.762 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5806/1.195, allocations: 32.44 MB / 1.633 GB, free: 258.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.52, allocations: 5.75 kB / 1.633 GB, free: 258.3 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.474078023980837] Failed to read output from testmodel.py, exit status != 0: 13.689782671979629 13.701276904 13.165394515 Calling exit ...