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.001517/0.001517, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001822/0.001822, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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.002851/0.002851, allocations: 282.5 kB / 312.7 MB, free: 2.609 MB / 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.321/1.321, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 178] 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: NcDataReader2 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: BuildingSystems 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.003007/0.003007, allocations: 102.6 kB / 0.74 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1865, allocations: 95.38 MB / 0.8331 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6994/0.886, allocations: 171.9 MB / 1.001 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.896, allocations: 6.566 MB / 1.007 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.8978, allocations: 63.84 kB / 1.007 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.8999, allocations: 0.6846 MB / 1.008 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008683/0.9086, allocations: 2.425 MB / 1.01 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.9129, allocations: 1.455 MB / 1.012 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004733/0.9176, allocations: 3.021 MB / 1.015 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.9189, allocations: 0.6966 MB / 1.016 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.9218, allocations: 1.189 MB / 1.017 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.923, allocations: 0.8203 MB / 1.017 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.9232, allocations: 100.4 kB / 1.018 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.9265, allocations: 1.691 MB / 1.019 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.9269, allocations: 374.2 kB / 1.02 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.9274, allocations: 480.8 kB / 1.02 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.9305, allocations: 2.343 MB / 1.022 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9305, allocations: 3.938 kB / 1.022 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9305, allocations: 0.8125 kB / 1.022 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.9305, allocations: 2.875 kB / 1.022 GB, free: 3.414 MB / 0.7169 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.003218/0.9337, allocations: 1.588 MB / 1.024 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9338, allocations: 12.12 kB / 1.024 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.9365, allocations: 0.5381 MB / 1.024 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.9387, allocations: 0.9749 MB / 1.025 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.9387, allocations: 58.09 kB / 1.025 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.9389, allocations: 67.38 kB / 1.026 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.9412, allocations: 1.234 MB / 1.027 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.9412, allocations: 3.594 kB / 1.027 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.9413, allocations: 22.19 kB / 1.027 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.9413, allocations: 40.02 kB / 1.027 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.9441, allocations: 1.19 MB / 1.028 GB, free: 17.93 MB / 0.7325 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.005018/0.9491, allocations: 2.713 MB / 1.031 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.9506, allocations: 0.6742 MB / 1.031 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.9514, allocations: 425 kB / 1.032 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.9518, allocations: 126.1 kB / 1.032 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/0.9528, allocations: 0.6515 MB / 1.032 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.114e-06/0.9528, allocations: 4.25 kB / 1.032 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.002756/0.9556, allocations: 1.26 MB / 1.034 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.9556, allocations: 145.2 kB / 1.034 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.9569, allocations: 0.8842 MB / 1.035 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.957, allocations: 37.61 kB / 1.035 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.9573, allocations: 461.9 kB / 1.035 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.9574, allocations: 197.5 kB / 1.035 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.9577, allocations: 142.7 kB / 1.035 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9578, allocations: 330.5 kB / 1.036 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.959, allocations: 471.1 kB / 1.036 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.9605, allocations: 0.9836 MB / 1.037 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.9624, allocations: 0.9329 MB / 1.038 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9624, allocations: 3.938 kB / 1.038 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002754/0.9652, allocations: 1.223 MB / 1.039 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.9652, allocations: 39.2 kB / 1.039 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9653, allocations: 3.531 kB / 1.039 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.9653, allocations: 5.125 kB / 1.039 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.9661, allocations: 200.7 kB / 1.04 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.9661, allocations: 2.938 kB / 1.04 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.9674, allocations: 221.6 kB / 1.04 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.9674, allocations: 31.88 kB / 1.04 GB, free: 14.5 MB / 0.7325 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.0005047/0.9679, allocations: 337 kB / 1.04 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.9681, allocations: 93.75 kB / 1.04 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.97, allocations: 1.009 MB / 1.041 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.97, allocations: 8.625 kB / 1.041 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.97, allocations: 0 / 1.041 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.97, allocations: 3 kB / 1.041 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.9743, allocations: 2.944 MB / 1.044 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.9743, allocations: 9.469 kB / 1.044 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.9748, allocations: 122.8 kB / 1.044 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.9748, allocations: 9.031 kB / 1.044 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.9749, allocations: 27.67 kB / 1.044 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.9749, allocations: 19.03 kB / 1.044 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.9749, allocations: 10.38 kB / 1.044 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.9768, allocations: 1.356 MB / 1.046 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.9773, allocations: 225.6 kB / 1.046 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.9774, allocations: 22.03 kB / 1.046 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009586/0.9784, allocations: 105.8 kB / 1.046 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.9785, allocations: 58.58 kB / 1.046 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.9786, allocations: 41.83 kB / 1.046 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001039/0.9796, allocations: 0.644 MB / 1.047 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9796, allocations: 0 / 1.047 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00115/0.9808, allocations: 327.2 kB / 1.047 GB, free: 12.41 MB / 0.7325 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.00061/0.9814, allocations: 339.6 kB / 1.047 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.9837, allocations: 1.036 MB / 1.048 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.9837, allocations: 2.719 kB / 1.048 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008941/0.9846, allocations: 0.5105 MB / 1.049 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.9863, allocations: 389.2 kB / 1.049 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.9899, allocations: 2.046 MB / 1.051 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.9903, allocations: 481.3 kB / 1.052 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000803/0.9911, allocations: 237 kB / 1.052 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.9913, allocations: 70.2 kB / 1.052 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.9913, allocations: 0 / 1.052 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.03075/1.022, allocations: 19.36 MB / 1.071 GB, free: 1.609 MB / 0.7325 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: 7.8404260370880365] Failed to read output from testmodel.py, exit status != 0: 1.0298576261848211 1.044273805 0.11068525600000001 Calling exit ...