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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 188.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 285.8 kB / 306.6 MB, free: 8.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.195/1.195, allocations: 180.9 MB / 0.53 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002857/0.002857, allocations: 95.62 kB / 0.7308 GB, free: 38.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1414, allocations: 94.2 MB / 0.8228 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.641/0.7824, allocations: 195.1 MB / 1.013 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008683/0.7911, allocations: 6.969 MB / 1.02 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009987/0.7921, allocations: 61.22 kB / 1.02 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.7935, allocations: 0.7147 MB / 1.021 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.7989, allocations: 2.488 MB / 1.023 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.8023, allocations: 1.489 MB / 1.025 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004004/0.8063, allocations: 3.05 MB / 1.028 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.8074, allocations: 0.7078 MB / 1.028 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.8101, allocations: 1.17 MB / 1.03 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.8115, allocations: 0.8636 MB / 1.03 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.8117, allocations: 100.3 kB / 1.031 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.8169, allocations: 2.203 MB / 1.033 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005734/0.8175, allocations: 374.7 kB / 1.033 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009966/0.8185, allocations: 0.5909 MB / 1.034 GB, free: 3.477 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004591/0.823, allocations: 2.404 MB / 1.036 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.823, allocations: 0 / 1.036 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.864e-06/0.823, allocations: 0.6562 kB / 1.036 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.8231, allocations: 0 / 1.036 GB, free: 3.348 MB / 0.7481 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.003409/0.8265, allocations: 1.596 MB / 1.038 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.8265, allocations: 12.81 kB / 1.038 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.8294, allocations: 0.5414 MB / 1.038 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.8314, allocations: 0.9752 MB / 1.039 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.8314, allocations: 50.66 kB / 1.039 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.8315, allocations: 70.66 kB / 1.039 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.8336, allocations: 1.104 MB / 1.04 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.8337, allocations: 4.312 kB / 1.04 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.8337, allocations: 26.72 kB / 1.04 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.8338, allocations: 34.34 kB / 1.04 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.8365, allocations: 1.166 MB / 1.041 GB, free: 2.066 MB / 0.7481 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.005054/0.8416, allocations: 3.125 MB / 1.045 GB, free: 17.17 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.8431, allocations: 0.6503 MB / 1.045 GB, free: 17.14 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.8438, allocations: 397.5 kB / 1.046 GB, free: 17.14 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/0.8442, allocations: 126.6 kB / 1.046 GB, free: 17.14 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008901/0.8451, allocations: 0.5094 MB / 1.046 GB, free: 17.03 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=57): time 2.013e-06/0.8451, allocations: 1 kB / 1.046 GB, free: 17.03 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57): time 0.0026/0.8477, allocations: 1.229 MB / 1.047 GB, free: 16.89 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.8478, allocations: 141 kB / 1.047 GB, free: 16.74 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.8493, allocations: 1.173 MB / 1.049 GB, free: 16.59 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.8494, allocations: 40.95 kB / 1.049 GB, free: 16.56 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.8497, allocations: 454.1 kB / 1.049 GB, free: 16.43 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8498, allocations: 191.7 kB / 1.049 GB, free: 16.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.85, allocations: 144.6 kB / 1.049 GB, free: 16.28 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8502, allocations: 337 kB / 1.05 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.8513, allocations: 441.4 kB / 1.05 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.8526, allocations: 0.5947 MB / 1.051 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.8544, allocations: 0.9245 MB / 1.052 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8544, allocations: 4.234 kB / 1.052 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002684/0.8571, allocations: 1.199 MB / 1.053 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.8571, allocations: 39.88 kB / 1.053 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.8571, allocations: 6.5 kB / 1.053 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8572, allocations: 8.25 kB / 1.053 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/0.858, allocations: 187.6 kB / 1.053 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8581, allocations: 8.75 kB / 1.053 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.8594, allocations: 247.9 kB / 1.053 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.8595, allocations: 38.02 kB / 1.053 GB, free: 15.44 MB / 0.7637 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.0003793/0.8598, allocations: 326.4 kB / 1.054 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.86, allocations: 123.8 kB / 1.054 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.8619, allocations: 1.009 MB / 1.055 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8619, allocations: 7.688 kB / 1.055 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8619, allocations: 0 / 1.055 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8619, allocations: 5.031 kB / 1.055 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.8659, allocations: 3.136 MB / 1.058 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.8659, allocations: 12.34 kB / 1.058 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.8664, allocations: 121.9 kB / 1.058 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.8664, allocations: 11.03 kB / 1.058 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.8665, allocations: 30.06 kB / 1.058 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.8665, allocations: 11.25 kB / 1.058 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8665, allocations: 11.31 kB / 1.058 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8683, allocations: 1.367 MB / 1.059 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.8688, allocations: 261.3 kB / 1.06 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.869, allocations: 23.44 kB / 1.06 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.87, allocations: 99.77 kB / 1.06 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.8701, allocations: 62.98 kB / 1.06 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.8702, allocations: 43.47 kB / 1.06 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001233/0.8714, allocations: 0.8493 MB / 1.061 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8714, allocations: 1.094 kB / 1.061 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009257/0.8724, allocations: 301.2 kB / 1.061 GB, free: 13.59 MB / 0.7637 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.0006455/0.873, allocations: 349.4 kB / 1.061 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.8751, allocations: 0.9749 MB / 1.062 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8751, allocations: 0 / 1.062 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008112/0.8759, allocations: 489.1 kB / 1.063 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.8784, allocations: 0.5527 MB / 1.063 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.8818, allocations: 2.057 MB / 1.065 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.8824, allocations: 1.066 MB / 1.066 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008059/0.8832, allocations: 272.5 kB / 1.067 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.8835, allocations: 81.59 kB / 1.067 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of SimCode: time 4.71e-07/0.8835, allocations: 4 kB / 1.067 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of Templates: time 0.03717/0.9206, allocations: 22.71 MB / 1.089 GB, free: 3.277 MB / 0.7637 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.187474224716425] Failed to read output from testmodel.py, exit status != 0: 0.9284492079168558 0.944853356 0.11856793400000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f907df4d7b0>