Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001066/0.001066, allocations: 84.44 kB / 20.7 MB, free: 3.875 MB / 18.57 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.0009788/0.0009788, allocations: 165.9 kB / 23.96 MB, free: 0.6094 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.9104/0.9104, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5613/0.5613, allocations: 114 MB / 374.7 MB, free: 8.684 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5554 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.26e-05, allocations: 6.219 kB / 0.5554 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4422/0.4422, allocations: 171.6 MB / 0.723 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008767/0.451, allocations: 6.51 MB / 0.7294 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.452, allocations: 63.66 kB / 0.7295 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.4535, allocations: 0.6951 MB / 0.7301 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.4583, allocations: 2.457 MB / 0.7325 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.461, allocations: 1.498 MB / 0.734 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003678/0.4646, allocations: 2.907 MB / 0.7368 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.4659, allocations: 0.6556 MB / 0.7375 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.47, allocations: 1.921 MB / 0.7394 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.4711, allocations: 0.7068 MB / 0.74 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.4713, allocations: 101.3 kB / 0.7401 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.4748, allocations: 1.685 MB / 0.7418 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003848/0.4752, allocations: 397.3 kB / 0.7422 GB, free: 37.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.4756, allocations: 394.9 kB / 0.7425 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.4789, allocations: 2.43 MB / 0.7449 GB, free: 36.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4789, allocations: 4 kB / 0.7449 GB, free: 36.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4789, allocations: 1.219 kB / 0.7449 GB, free: 36.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.4789, allocations: 3.938 kB / 0.7449 GB, free: 36.91 MB / 0.6355 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.002332/0.4813, allocations: 1.557 MB / 0.7464 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4813, allocations: 10.41 kB / 0.7465 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.4828, allocations: 0.5381 MB / 0.747 GB, free: 35.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.4843, allocations: 0.9349 MB / 0.7479 GB, free: 35.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.4844, allocations: 55.38 kB / 0.7479 GB, free: 35.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.4845, allocations: 67.41 kB / 0.748 GB, free: 35.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.4861, allocations: 1.239 MB / 0.7492 GB, free: 34.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4861, allocations: 0 / 0.7492 GB, free: 34.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.4861, allocations: 33.83 kB / 0.7492 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/0.4862, allocations: 31.56 kB / 0.7493 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.4879, allocations: 1.196 MB / 0.7504 GB, free: 34.27 MB / 0.6355 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.003075/0.491, allocations: 2.691 MB / 0.7531 GB, free: 32.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.492, allocations: 0.6827 MB / 0.7537 GB, free: 32.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.4926, allocations: 424.2 kB / 0.7541 GB, free: 32.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.4929, allocations: 131.2 kB / 0.7543 GB, free: 32.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006674/0.4935, allocations: 0.6409 MB / 0.7549 GB, free: 31.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.996e-06/0.4935, allocations: 0 / 0.7549 GB, free: 31.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.001824/0.4954, allocations: 1.271 MB / 0.7561 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4954, allocations: 143 kB / 0.7563 GB, free: 31.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.4964, allocations: 0.862 MB / 0.7571 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.4964, allocations: 39.64 kB / 0.7572 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.4966, allocations: 455.1 kB / 0.7576 GB, free: 30.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.4967, allocations: 195.6 kB / 0.7578 GB, free: 30.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.4969, allocations: 144.6 kB / 0.7579 GB, free: 30.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.4969, allocations: 331.8 kB / 0.7582 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.4976, allocations: 467.8 kB / 0.7587 GB, free: 29.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008482/0.4985, allocations: 0.9896 MB / 0.7596 GB, free: 29.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.4997, allocations: 0.934 MB / 0.7606 GB, free: 28.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4997, allocations: 1.094 kB / 0.7606 GB, free: 28.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001798/0.5015, allocations: 1.214 MB / 0.7617 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.5016, allocations: 49.73 kB / 0.7618 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5016, allocations: 6.375 kB / 0.7618 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.5016, allocations: 6.094 kB / 0.7618 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.5021, allocations: 186.6 kB / 0.762 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.5021, allocations: 10.31 kB / 0.762 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.5028, allocations: 206 kB / 0.7622 GB, free: 28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.5029, allocations: 38.88 kB / 0.7622 GB, free: 28 MB / 0.6355 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.000363/0.5033, allocations: 331.3 kB / 0.7625 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.5034, allocations: 103.5 kB / 0.7626 GB, free: 27.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.5048, allocations: 0.9985 MB / 0.7636 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.5048, allocations: 11.5 kB / 0.7636 GB, free: 27.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5048, allocations: 2.953 kB / 0.7636 GB, free: 27.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.5048, allocations: 1.531 kB / 0.7636 GB, free: 27.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.5078, allocations: 2.931 MB / 0.7665 GB, free: 25.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5078, allocations: 7.156 kB / 0.7665 GB, free: 25.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.5081, allocations: 122.1 kB / 0.7666 GB, free: 25.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/0.5081, allocations: 17.41 kB / 0.7666 GB, free: 25.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.5082, allocations: 31.27 kB / 0.7667 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.5082, allocations: 11.45 kB / 0.7667 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.5082, allocations: 11.84 kB / 0.7667 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5095, allocations: 1.339 MB / 0.768 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.5098, allocations: 226.5 kB / 0.7682 GB, free: 24.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/0.5099, allocations: 27.7 kB / 0.7682 GB, free: 24.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.5104, allocations: 97.72 kB / 0.7683 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.5105, allocations: 64.12 kB / 0.7684 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.5105, allocations: 42.48 kB / 0.7684 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006614/0.5112, allocations: 0.6306 MB / 0.769 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5112, allocations: 0 / 0.769 GB, free: 24.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009165/0.5121, allocations: 319.3 kB / 0.7693 GB, free: 24.3 MB / 0.6355 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.0005209/0.5126, allocations: 341.1 kB / 0.7697 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.5139, allocations: 1.04 MB / 0.7707 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5139, allocations: 3 kB / 0.7707 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.5144, allocations: 0.5154 MB / 0.7712 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5155, allocations: 340.1 kB / 0.7715 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.5176, allocations: 2.036 MB / 0.7735 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.518, allocations: 470.6 kB / 0.774 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.5182, allocations: 79.81 kB / 0.774 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.5182, allocations: 0 / 0.774 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.01343/0.5316, allocations: 16.38 MB / 0.79 GB, free: 16.47 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.071344462223351] Failed to read output from testmodel.py, exit status != 0: 0.53733045514673 0.544182709 0.06360827200000001 Calling exit ...