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.001436/0.001436, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00159/0.00159, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 284.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9155/0.9155, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 100.2 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3676, allocations: 86.97 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ConservationEquation): time 0.01916/0.3868, allocations: 20.82 MB / 0.7874 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006907/0.3938, allocations: 5.389 MB / 0.7927 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.3941, allocations: 27.81 kB / 0.7927 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.3949, allocations: 353.8 kB / 0.793 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.3966, allocations: 0.9677 MB / 0.794 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.3986, allocations: 0.9364 MB / 0.7949 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001685/0.4003, allocations: 1.739 MB / 0.7966 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.4009, allocations: 0.493 MB / 0.7971 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.4024, allocations: 0.7176 MB / 0.7978 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.4031, allocations: 497.8 kB / 0.7982 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.4032, allocations: 40 kB / 0.7983 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.4049, allocations: 1.127 MB / 0.7994 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.405, allocations: 143.4 kB / 0.7995 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.4053, allocations: 322.3 kB / 0.7998 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.4069, allocations: 1.226 MB / 0.801 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4069, allocations: 0 / 0.801 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4069, allocations: 4 kB / 0.801 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.4069, allocations: 0 / 0.801 GB, free: 0.9922 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.00148/0.4084, allocations: 1.041 MB / 0.802 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.4085, allocations: 15.97 kB / 0.802 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.4094, allocations: 176 kB / 0.8022 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.4104, allocations: 0.5887 MB / 0.8028 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.4105, allocations: 25 kB / 0.8028 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.4106, allocations: 40 kB / 0.8029 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.4115, allocations: 499.9 kB / 0.8033 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4115, allocations: 0 / 0.8033 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.4116, allocations: 23.98 kB / 0.8034 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.4116, allocations: 15.98 kB / 0.8034 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.4126, allocations: 410.6 kB / 0.8038 GB, free: 14.07 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.00275/0.4154, allocations: 2.273 MB / 0.806 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/0.4163, allocations: 378.8 kB / 0.8063 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.4168, allocations: 232 kB / 0.8066 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.4171, allocations: 336.6 kB / 0.8069 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.4177, allocations: 290.9 kB / 0.8072 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.4177, allocations: 0 / 0.8072 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002187/0.4199, allocations: 0.8537 MB / 0.808 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.42, allocations: 81.11 kB / 0.8081 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.4205, allocations: 498.9 kB / 0.8085 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.4205, allocations: 37.7 kB / 0.8086 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.4207, allocations: 280.4 kB / 0.8089 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.4208, allocations: 102.5 kB / 0.809 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4209, allocations: 85.33 kB / 0.809 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4211, allocations: 362.8 kB / 0.8094 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.4215, allocations: 172.8 kB / 0.8095 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.422, allocations: 258.6 kB / 0.8098 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009437/0.423, allocations: 466.3 kB / 0.8102 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.423, allocations: 0 / 0.8102 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00138/0.4244, allocations: 0.6133 MB / 0.8108 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.4244, allocations: 45.62 kB / 0.8109 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4245, allocations: 4 kB / 0.8109 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.4248, allocations: 60.97 kB / 0.8109 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.4252, allocations: 83.88 kB / 0.811 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000424/0.4256, allocations: 0.5992 MB / 0.8116 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.4261, allocations: 55.72 kB / 0.8117 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.4261, allocations: 19.98 kB / 0.8117 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005816/0.4267, allocations: 314.4 kB / 0.812 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004942/0.4272, allocations: 261.7 kB / 0.8122 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009055/0.4281, allocations: 457.6 kB / 0.8127 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-06/0.4281, allocations: 0 / 0.8127 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001288/0.4294, allocations: 0.5849 MB / 0.8132 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.4295, allocations: 40.66 kB / 0.8133 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.4295, allocations: 4 kB / 0.8133 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.4296, allocations: 52.7 kB / 0.8133 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.43, allocations: 80.09 kB / 0.8134 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.4315, allocations: 1.81 MB / 0.8152 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.432, allocations: 51.77 kB / 0.8152 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.432, allocations: 24.06 kB / 0.8152 GB, free: 1.547 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.0001803/0.4322, allocations: 237.8 kB / 0.8155 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4323, allocations: 55.34 kB / 0.8155 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.4337, allocations: 0.6453 MB / 0.8162 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/0.435, allocations: 0.8015 MB / 0.8169 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.435, allocations: 0 / 0.8169 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.4353, allocations: 176.2 kB / 0.8171 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.4353, allocations: 11.94 kB / 0.8171 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.4358, allocations: 39.95 kB / 0.8172 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.4359, allocations: 23.97 kB / 0.8172 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001534/0.4374, allocations: 0.7437 MB / 0.8179 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001736/0.4392, allocations: 0.9722 MB / 0.8188 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004826/0.4397, allocations: 237.1 kB / 0.8191 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003497/0.44, allocations: 350.8 kB / 0.8194 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of Backend: time 3.1e-07/0.44, allocations: 0 / 0.8194 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002591/0.4426, allocations: 1.171 MB / 0.8206 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001972/0.4446, allocations: 1.621 MB / 0.8221 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.02005/0.4647, allocations: 13.87 MB / 0.8357 GB, free: 12.47 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)