Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001399/0.001399, allocations: 104.5 kB / 16.27 MB, free: 6.41 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.001469/0.001469, allocations: 184.6 kB / 17.19 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7469/0.7469, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 67.89 kB / 0.495 GB, free: 3.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3626, allocations: 78.7 MB / 0.5718 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.0172/0.3799, allocations: 20.81 MB / 0.5921 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007336/0.3873, allocations: 5.393 MB / 0.5974 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009306/0.3882, allocations: 23.69 kB / 0.5974 GB, free: 11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.3892, allocations: 349 kB / 0.5978 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.3916, allocations: 0.9249 MB / 0.5987 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.3944, allocations: 0.9274 MB / 0.5996 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.3969, allocations: 1.738 MB / 0.6013 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.3976, allocations: 494.6 kB / 0.6017 GB, free: 8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.3993, allocations: 0.6923 MB / 0.6024 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.3999, allocations: 497.8 kB / 0.6029 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.4, allocations: 40 kB / 0.6029 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.4019, allocations: 1.123 MB / 0.604 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.4021, allocations: 151.4 kB / 0.6042 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.4024, allocations: 318.3 kB / 0.6045 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.4047, allocations: 1.204 MB / 0.6057 GB, free: 3.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4047, allocations: 4 kB / 0.6057 GB, free: 3.988 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4047, allocations: 3.938 kB / 0.6057 GB, free: 3.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.4047, allocations: 0 / 0.6057 GB, free: 3.984 MB / 446.1 MB 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.001799/0.4065, allocations: 1.042 MB / 0.6067 GB, free: 2.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4066, allocations: 12.03 kB / 0.6067 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.4076, allocations: 176 kB / 0.6069 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.4085, allocations: 0.553 MB / 0.6074 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.4089, allocations: 84.94 kB / 0.6075 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.4089, allocations: 44 kB / 0.6075 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.4098, allocations: 0.496 MB / 0.608 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4098, allocations: 4 kB / 0.608 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.4099, allocations: 16 kB / 0.608 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.4099, allocations: 8 kB / 0.608 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.4108, allocations: 414.6 kB / 0.6084 GB, free: 1.027 MB / 446.1 MB 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.002707/0.4135, allocations: 2.305 MB / 0.6107 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4147, allocations: 386.9 kB / 0.611 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.4152, allocations: 229 kB / 0.6113 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.4156, allocations: 336.6 kB / 0.6116 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006713/0.4163, allocations: 296.1 kB / 0.6119 GB, free: 13.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.4163, allocations: 0 / 0.6119 GB, free: 13.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002423/0.4187, allocations: 0.8772 MB / 0.6127 GB, free: 12.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.4188, allocations: 85.09 kB / 0.6128 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.4194, allocations: 498.8 kB / 0.6133 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.4195, allocations: 37.7 kB / 0.6133 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.4197, allocations: 280.4 kB / 0.6136 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4198, allocations: 102.5 kB / 0.6137 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.4199, allocations: 81.59 kB / 0.6138 GB, free: 11.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4201, allocations: 366.7 kB / 0.6141 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.4207, allocations: 182.3 kB / 0.6143 GB, free: 10.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.4213, allocations: 257.3 kB / 0.6145 GB, free: 10.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/0.4223, allocations: 478 kB / 0.615 GB, free: 9.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4223, allocations: 0 / 0.615 GB, free: 9.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001453/0.4238, allocations: 0.6201 MB / 0.6156 GB, free: 9.203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.4238, allocations: 41.69 kB / 0.6156 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4238, allocations: 7.938 kB / 0.6156 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.4242, allocations: 68.97 kB / 0.6157 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.4246, allocations: 79.88 kB / 0.6158 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005081/0.4251, allocations: 0.5914 MB / 0.6164 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.4256, allocations: 67.61 kB / 0.6164 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.4257, allocations: 12 kB / 0.6164 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006485/0.4264, allocations: 319.8 kB / 0.6167 GB, free: 7.988 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005292/0.4269, allocations: 273.4 kB / 0.617 GB, free: 7.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009879/0.4279, allocations: 461 kB / 0.6174 GB, free: 7.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.4279, allocations: 0 / 0.6174 GB, free: 7.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001317/0.4292, allocations: 0.5966 MB / 0.618 GB, free: 6.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4293, allocations: 41.84 kB / 0.6181 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.4293, allocations: 0 / 0.6181 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.4294, allocations: 48.83 kB / 0.6181 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.4298, allocations: 83.83 kB / 0.6182 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.4316, allocations: 1.818 MB / 0.62 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.4321, allocations: 55.89 kB / 0.62 GB, free: 4.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.4322, allocations: 16 kB / 0.62 GB, free: 4.371 MB / 462.1 MB 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.0002782/0.4324, allocations: 245.6 kB / 0.6203 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4326, allocations: 55.34 kB / 0.6203 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4341, allocations: 0.66 MB / 0.621 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4341, allocations: 4 kB / 0.621 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4341, allocations: 0 / 0.621 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/0.4354, allocations: 0.8053 MB / 0.6218 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.4377, allocations: 1.295 MB / 0.623 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4377, allocations: 7.875 kB / 0.623 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.4381, allocations: 68.05 kB / 0.6231 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.4382, allocations: 40.83 kB / 0.6231 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.4382, allocations: 12 kB / 0.6231 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003545/0.4386, allocations: 0.5834 MB / 0.6237 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4386, allocations: 8.094 kB / 0.6237 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.4406, allocations: 0.9725 MB / 0.6247 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.4408, allocations: 180.3 kB / 0.6248 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.4409, allocations: 16.05 kB / 0.6249 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/0.4414, allocations: 40.03 kB / 0.6249 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.4415, allocations: 19.91 kB / 0.6249 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/0.4416, allocations: 27.97 kB / 0.6249 GB, free: 15.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.442, allocations: 346.8 kB / 0.6253 GB, free: 14.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.442, allocations: 4 kB / 0.6253 GB, free: 14.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001075/0.4431, allocations: 339.3 kB / 0.6256 GB, free: 14.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008289/0.4439, allocations: 304.6 kB / 0.6259 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.4462, allocations: 1.005 MB / 0.6269 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4463, allocations: 0 / 0.6269 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.4469, allocations: 320.2 kB / 0.6272 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4482, allocations: 225.7 kB / 0.6274 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.4506, allocations: 1.137 MB / 0.6285 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4511, allocations: 0.8823 MB / 0.6294 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00056/0.4517, allocations: 126.6 kB / 0.6295 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4518, allocations: 43.42 kB / 0.6295 GB, free: 10.28 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4518, allocations: 0 / 0.6295 GB, free: 10.28 MB / 478.1 MB Notification: Performance of Templates: time 0.02045/0.4722, allocations: 11.33 MB / 0.6406 GB, free: 15.11 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)