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.001383/0.001383, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001528/0.001528, allocations: 163 kB / 22.46 MB, free: 5.375 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.448/1.448, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.002488/0.002488, allocations: 228.8 kB / 259.4 MB, free: 492 kB / 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.112/1.112, allocations: 138.4 MB / 454.3 MB, free: 1.969 MB / 366.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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.83e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5401/0.5401, allocations: 171.6 MB / 0.8144 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.5531, allocations: 6.578 MB / 0.8208 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.5548, allocations: 75.22 kB / 0.8209 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.5571, allocations: 0.6906 MB / 0.8216 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006972/0.5641, allocations: 2.468 MB / 0.824 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.5682, allocations: 1.535 MB / 0.8255 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004952/0.5731, allocations: 3.009 MB / 0.8284 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.5747, allocations: 0.6963 MB / 0.8291 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.5788, allocations: 1.508 MB / 0.8306 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.5808, allocations: 0.7229 MB / 0.8313 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.5812, allocations: 100 kB / 0.8314 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/0.5856, allocations: 1.718 MB / 0.8331 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007737/0.5864, allocations: 394.7 kB / 0.8334 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.5875, allocations: 395 kB / 0.8338 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.5925, allocations: 2.454 MB / 0.8362 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5925, allocations: 0 / 0.8362 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5925, allocations: 0 / 0.8362 GB, free: 14.42 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.163e-05/0.5926, allocations: 0 / 0.8362 GB, free: 14.42 MB / 0.67 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.004471/0.5971, allocations: 1.579 MB / 0.8378 GB, free: 12.79 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5971, allocations: 8.75 kB / 0.8378 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.6004, allocations: 0.5455 MB / 0.8383 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.603, allocations: 0.9702 MB / 0.8393 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.6031, allocations: 57.31 kB / 0.8393 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.6033, allocations: 67.98 kB / 0.8394 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.6062, allocations: 1.234 MB / 0.8406 GB, free: 9.824 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.6062, allocations: 4 kB / 0.8406 GB, free: 9.82 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6063, allocations: 31.98 kB / 0.8406 GB, free: 9.789 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/0.6064, allocations: 33.3 kB / 0.8406 GB, free: 9.758 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.6098, allocations: 1.193 MB / 0.8418 GB, free: 8.559 MB / 0.67 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.00618/0.616, allocations: 2.688 MB / 0.8444 GB, free: 5.816 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.618, allocations: 0.679 MB / 0.8451 GB, free: 5.125 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009312/0.6189, allocations: 424.6 kB / 0.8455 GB, free: 4.703 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/0.6194, allocations: 132.4 kB / 0.8456 GB, free: 4.574 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.6207, allocations: 0.6494 MB / 0.8463 GB, free: 3.871 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/0.6207, allocations: 0 / 0.8463 GB, free: 3.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003434/0.6241, allocations: 1.273 MB / 0.8475 GB, free: 2.578 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.6242, allocations: 136.9 kB / 0.8476 GB, free: 2.414 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.6261, allocations: 0.8917 MB / 0.8485 GB, free: 1.512 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.6262, allocations: 37.7 kB / 0.8485 GB, free: 1.469 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.6266, allocations: 460.6 kB / 0.849 GB, free: 1.012 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.6269, allocations: 196.2 kB / 0.8492 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.6272, allocations: 142.2 kB / 0.8493 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6274, allocations: 337.9 kB / 0.8496 GB, free: 348 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.6288, allocations: 470.7 kB / 0.8501 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.6306, allocations: 0.9862 MB / 0.851 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.633, allocations: 0.9259 MB / 0.8519 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.633, allocations: 0 / 0.8519 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003494/0.6365, allocations: 1.222 MB / 0.8531 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.6366, allocations: 40.05 kB / 0.8532 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6366, allocations: 3.984 kB / 0.8532 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.6366, allocations: 8 kB / 0.8532 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.6377, allocations: 192 kB / 0.8534 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.6377, allocations: 7.938 kB / 0.8534 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6392, allocations: 216.4 kB / 0.8536 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.6393, allocations: 35.98 kB / 0.8536 GB, free: 12.03 MB / 0.6856 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.0006876/0.64, allocations: 327.3 kB / 0.8539 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/0.6403, allocations: 103.3 kB / 0.854 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/0.6429, allocations: 1.013 MB / 0.855 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.6429, allocations: 4 kB / 0.855 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.307e-05/0.643, allocations: 7.984 kB / 0.855 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.643, allocations: 0 / 0.855 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00615/0.6491, allocations: 2.938 MB / 0.8579 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.6491, allocations: 4 kB / 0.8579 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/0.6498, allocations: 124.3 kB / 0.858 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.6498, allocations: 15.94 kB / 0.858 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.6499, allocations: 27.92 kB / 0.8581 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.6499, allocations: 12 kB / 0.8581 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.6499, allocations: 11.94 kB / 0.8581 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.6526, allocations: 1.346 MB / 0.8594 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/0.6533, allocations: 231 kB / 0.8596 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.6535, allocations: 27.92 kB / 0.8596 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.6547, allocations: 99.91 kB / 0.8597 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.6549, allocations: 63.73 kB / 0.8598 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.655, allocations: 39.97 kB / 0.8598 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001513/0.6565, allocations: 0.6395 MB / 0.8605 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6565, allocations: 0 / 0.8605 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001555/0.658, allocations: 327.3 kB / 0.8608 GB, free: 4.41 MB / 0.6856 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.0009474/0.659, allocations: 342.3 kB / 0.8611 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.6619, allocations: 1.036 MB / 0.8621 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.6619, allocations: 0 / 0.8621 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.663, allocations: 0.5128 MB / 0.8626 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.6654, allocations: 395.9 kB / 0.863 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.6697, allocations: 2.012 MB / 0.865 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.6704, allocations: 481.6 kB / 0.8654 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009559/0.6713, allocations: 237.2 kB / 0.8656 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.6716, allocations: 68.47 kB / 0.8657 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of SimCode: time 9.22e-07/0.6716, allocations: 0 / 0.8657 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of Templates: time 0.03336/0.705, allocations: 17.86 MB / 0.8832 GB, free: 13.69 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.894657287746668] Failed to read output from testmodel.py, exit status != 0: 0.714142207056284 0.7299437940000001 0.13389594100000002 Calling exit ...