Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 114.9 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000992/0.000992, allocations: 187.9 kB / 17.35 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 292.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9529/0.9529, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 95.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3762, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation): time 0.02116/0.3974, allocations: 20.82 MB / 0.7874 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007715/0.4052, allocations: 5.388 MB / 0.7927 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006571/0.4059, allocations: 27.81 kB / 0.7927 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008657/0.4067, allocations: 349.8 kB / 0.793 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.409, allocations: 0.9212 MB / 0.7939 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.4112, allocations: 0.9419 MB / 0.7948 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.4133, allocations: 1.735 MB / 0.7965 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.4141, allocations: 496.9 kB / 0.797 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.4158, allocations: 0.7216 MB / 0.7977 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008294/0.4167, allocations: 497.8 kB / 0.7982 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.4168, allocations: 40 kB / 0.7982 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.4189, allocations: 1.127 MB / 0.7993 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.4191, allocations: 143.5 kB / 0.7995 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.4195, allocations: 322.3 kB / 0.7998 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.4214, allocations: 1.226 MB / 0.801 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4214, allocations: 0 / 0.801 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4214, allocations: 0 / 0.801 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.4214, allocations: 0 / 0.801 GB, free: 1.066 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001798/0.4232, allocations: 1.052 MB / 0.802 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4232, allocations: 8.031 kB / 0.802 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/0.4243, allocations: 180 kB / 0.8022 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.4254, allocations: 0.5887 MB / 0.8027 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.4254, allocations: 29 kB / 0.8028 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.122e-05/0.4255, allocations: 40 kB / 0.8028 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.4265, allocations: 499.9 kB / 0.8033 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4266, allocations: 0 / 0.8033 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.4266, allocations: 12 kB / 0.8033 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4266, allocations: 19.98 kB / 0.8033 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.4276, allocations: 398.6 kB / 0.8037 GB, free: 14.16 MB / 0.5762 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.002901/0.4305, allocations: 2.285 MB / 0.8059 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.4315, allocations: 370.9 kB / 0.8063 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.432, allocations: 220.9 kB / 0.8065 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.4323, allocations: 344.6 kB / 0.8068 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006181/0.4329, allocations: 294.9 kB / 0.8071 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.4329, allocations: 0 / 0.8071 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002224/0.4352, allocations: 0.8537 MB / 0.8079 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.4353, allocations: 85.11 kB / 0.808 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.4358, allocations: 495 kB / 0.8085 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.4359, allocations: 37.7 kB / 0.8085 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.4361, allocations: 280.4 kB / 0.8088 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.4362, allocations: 102.5 kB / 0.8089 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4363, allocations: 85.33 kB / 0.809 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4364, allocations: 358.8 kB / 0.8093 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.4369, allocations: 176.8 kB / 0.8095 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.4375, allocations: 258.6 kB / 0.8097 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.4384, allocations: 465.7 kB / 0.8102 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4384, allocations: 0 / 0.8102 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001409/0.4398, allocations: 0.6133 MB / 0.8108 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.4399, allocations: 41.69 kB / 0.8108 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4399, allocations: 7.938 kB / 0.8108 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.4403, allocations: 68.81 kB / 0.8109 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.4406, allocations: 84.03 kB / 0.811 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004364/0.4411, allocations: 0.5991 MB / 0.8115 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.4416, allocations: 55.72 kB / 0.8116 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.4416, allocations: 19.98 kB / 0.8116 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005856/0.4422, allocations: 314.4 kB / 0.8119 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004971/0.4427, allocations: 257.8 kB / 0.8122 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009111/0.4436, allocations: 458.2 kB / 0.8126 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4436, allocations: 3.938 kB / 0.8126 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001274/0.4449, allocations: 0.5811 MB / 0.8132 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.445, allocations: 37.69 kB / 0.8132 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.445, allocations: 7.938 kB / 0.8132 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.4451, allocations: 44.83 kB / 0.8133 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.4455, allocations: 84.03 kB / 0.8133 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.4469, allocations: 1.806 MB / 0.8151 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.4474, allocations: 51.77 kB / 0.8152 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.4474, allocations: 20.06 kB / 0.8152 GB, free: 1.629 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.4477, allocations: 241.9 kB / 0.8154 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.4478, allocations: 59.34 kB / 0.8155 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.4492, allocations: 0.6492 MB / 0.8161 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.4504, allocations: 0.7937 MB / 0.8169 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4504, allocations: 0 / 0.8169 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.4507, allocations: 180.2 kB / 0.817 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.4507, allocations: 8 kB / 0.817 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.4512, allocations: 43.89 kB / 0.8171 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.4513, allocations: 23.97 kB / 0.8171 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00156/0.4529, allocations: 0.7437 MB / 0.8178 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001708/0.4546, allocations: 0.9722 MB / 0.8188 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004865/0.4551, allocations: 233.1 kB / 0.819 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003448/0.4554, allocations: 354.8 kB / 0.8194 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Backend: time 3.71e-07/0.4554, allocations: 0 / 0.8194 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002613/0.4581, allocations: 1.178 MB / 0.8205 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002/0.4601, allocations: 1.616 MB / 0.8221 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.02101/0.4811, allocations: 13.87 MB / 0.8356 GB, free: 12.54 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)