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.001332/0.001332, allocations: 70.89 kB / 20.51 MB, free: 1.285 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.001536/0.001536, allocations: 161.3 kB / 23.76 MB, free: 4.469 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.451/1.451, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.9352/0.9352, allocations: 113.9 MB / 374.5 MB, free: 12.85 MB / 350.1 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: IBPSA 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.002214/0.002214, allocations: 67.7 kB / 0.555 GB, free: 2.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1668, allocations: 89.14 MB / 0.6421 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5626/0.7294, allocations: 171.9 MB / 0.81 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.7404, allocations: 6.57 MB / 0.8164 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.7415, allocations: 67.38 kB / 0.8165 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.7432, allocations: 0.6869 MB / 0.8171 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.7494, allocations: 2.424 MB / 0.8195 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.7528, allocations: 1.451 MB / 0.8209 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004316/0.7572, allocations: 3.006 MB / 0.8239 GB, free: 9.004 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.7584, allocations: 0.7007 MB / 0.8245 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004081/0.7625, allocations: 1.648 MB / 0.8261 GB, free: 6.656 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.7642, allocations: 0.8013 MB / 0.8269 GB, free: 5.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.7644, allocations: 96 kB / 0.827 GB, free: 5.766 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.768, allocations: 1.656 MB / 0.8286 GB, free: 4.105 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.7685, allocations: 382.6 kB / 0.829 GB, free: 3.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.7691, allocations: 481.7 kB / 0.8295 GB, free: 3.258 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003999/0.7731, allocations: 2.343 MB / 0.8318 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7731, allocations: 0 / 0.8318 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7731, allocations: 0 / 0.8318 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.7732, allocations: 0 / 0.8318 GB, free: 0.9102 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.003858/0.777, allocations: 1.592 MB / 0.8333 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7771, allocations: 12.03 kB / 0.8333 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.7801, allocations: 0.5377 MB / 0.8338 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.7826, allocations: 0.9742 MB / 0.8348 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.7827, allocations: 53.31 kB / 0.8348 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7828, allocations: 68 kB / 0.8349 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.7855, allocations: 1.242 MB / 0.8361 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.7855, allocations: 4 kB / 0.8361 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.7856, allocations: 24 kB / 0.8361 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.7856, allocations: 33.31 kB / 0.8362 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.7888, allocations: 1.189 MB / 0.8373 GB, free: 11.04 MB / 0.6856 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.00596/0.7948, allocations: 2.706 MB / 0.84 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.7966, allocations: 0.6742 MB / 0.8406 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.7975, allocations: 427.8 kB / 0.8411 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/0.798, allocations: 124.4 kB / 0.8412 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.7991, allocations: 0.6516 MB / 0.8418 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 2.435e-06/0.7992, allocations: 0 / 0.8418 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.003129/0.8023, allocations: 1.265 MB / 0.843 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.8024, allocations: 136.9 kB / 0.8432 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.8039, allocations: 0.8955 MB / 0.844 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.804, allocations: 37.7 kB / 0.8441 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.8044, allocations: 464.5 kB / 0.8445 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.8046, allocations: 198.3 kB / 0.8447 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.8049, allocations: 142.2 kB / 0.8449 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8051, allocations: 330 kB / 0.8452 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.8064, allocations: 474.7 kB / 0.8456 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.8081, allocations: 0.99 MB / 0.8466 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.8104, allocations: 0.9256 MB / 0.8475 GB, free: 228 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8104, allocations: 3.938 kB / 0.8475 GB, free: 224 kB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003289/0.8137, allocations: 1.215 MB / 0.8487 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.8137, allocations: 37.69 kB / 0.8487 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.8137, allocations: 4 kB / 0.8487 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.8138, allocations: 8.281 kB / 0.8487 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009661/0.8147, allocations: 187.7 kB / 0.8489 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.8147, allocations: 15.88 kB / 0.8489 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8161, allocations: 215.5 kB / 0.8491 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.8162, allocations: 35.97 kB / 0.8492 GB, free: 14.48 MB / 0.7012 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.000514/0.8167, allocations: 332.8 kB / 0.8495 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.8169, allocations: 99.39 kB / 0.8496 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.8192, allocations: 1.007 MB / 0.8506 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.8192, allocations: 8 kB / 0.8506 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8192, allocations: 3.938 kB / 0.8506 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.8192, allocations: 8.5 kB / 0.8506 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.8243, allocations: 2.934 MB / 0.8534 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.8243, allocations: 11.98 kB / 0.8535 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.8249, allocations: 127.9 kB / 0.8536 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.8249, allocations: 11.98 kB / 0.8536 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.825, allocations: 27.98 kB / 0.8536 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.825, allocations: 8 kB / 0.8536 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/0.825, allocations: 11.94 kB / 0.8536 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.8273, allocations: 1.368 MB / 0.855 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.8278, allocations: 231 kB / 0.8552 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.8279, allocations: 24 kB / 0.8552 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.829, allocations: 103.9 kB / 0.8553 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8291, allocations: 63.69 kB / 0.8554 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/0.8292, allocations: 43.97 kB / 0.8554 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001245/0.8304, allocations: 0.6356 MB / 0.856 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8304, allocations: 0 / 0.856 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001092/0.8315, allocations: 323.4 kB / 0.8563 GB, free: 6.848 MB / 0.7012 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.0005772/0.8321, allocations: 331 kB / 0.8567 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.8346, allocations: 1.033 MB / 0.8577 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8346, allocations: 0 / 0.8577 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8356, allocations: 0.5102 MB / 0.8582 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.8376, allocations: 377.4 kB / 0.8585 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.8414, allocations: 2.052 MB / 0.8605 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.842, allocations: 485.6 kB / 0.861 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008236/0.8428, allocations: 239.4 kB / 0.8612 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.843, allocations: 68.47 kB / 0.8613 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of SimCode: time 9.62e-07/0.843, allocations: 0 / 0.8613 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.03078/0.8738, allocations: 17.95 MB / 0.8788 GB, free: 15.92 MB / 0.7325 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.718130483990535] Failed to read output from testmodel.py, exit status != 0: 0.8828413540031761 0.8960521419999999 0.119832614 Calling exit ...