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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4612/0.4612, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009753, allocations: 106.2 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 51.92 kB / 0.4891 GB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3464, allocations: 70.07 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.0156/0.362, allocations: 20.74 MB / 0.5777 GB, free: 24.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.3686, allocations: 5.46 MB / 0.5831 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.3694, allocations: 19.88 kB / 0.5831 GB, free: 18.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.3702, allocations: 282.4 kB / 0.5834 GB, free: 18.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.3721, allocations: 0.8555 MB / 0.5842 GB, free: 17.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.3742, allocations: 0.8148 MB / 0.585 GB, free: 16.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.3764, allocations: 2.305 MB / 0.5872 GB, free: 14.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.377, allocations: 441.6 kB / 0.5877 GB, free: 14.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.378, allocations: 0.6263 MB / 0.5883 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.3785, allocations: 0.4978 MB / 0.5888 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.3786, allocations: 24 kB / 0.5888 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.3802, allocations: 1.095 MB / 0.5899 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3804, allocations: 135.4 kB / 0.59 GB, free: 11.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.3807, allocations: 302.3 kB / 0.5903 GB, free: 11.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3819, allocations: 1.188 MB / 0.5914 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.382, allocations: 4 kB / 0.5914 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.382, allocations: 0 / 0.5914 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.382, allocations: 0 / 0.5914 GB, free: 10.34 MB / 410.7 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.001509/0.3835, allocations: 1.045 MB / 0.5925 GB, free: 9.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3836, allocations: 15.97 kB / 0.5925 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008695/0.3844, allocations: 172 kB / 0.5926 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/0.3854, allocations: 0.5614 MB / 0.5932 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.3857, allocations: 80.94 kB / 0.5933 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.3858, allocations: 43.94 kB / 0.5933 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008475/0.3866, allocations: 0.4999 MB / 0.5938 GB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3867, allocations: 0 / 0.5938 GB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.3867, allocations: 16 kB / 0.5938 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.3868, allocations: 8 kB / 0.5938 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.3877, allocations: 418.6 kB / 0.5942 GB, free: 7.375 MB / 410.7 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.002362/0.3901, allocations: 2.277 MB / 0.5964 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.3911, allocations: 382.9 kB / 0.5968 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.3915, allocations: 229 kB / 0.597 GB, free: 4.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.3918, allocations: 340.7 kB / 0.5974 GB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000563/0.3923, allocations: 302.9 kB / 0.5976 GB, free: 3.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/0.3924, allocations: 3.984 kB / 0.5976 GB, free: 3.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002111/0.3945, allocations: 0.8674 MB / 0.5985 GB, free: 2.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3945, allocations: 85.11 kB / 0.5986 GB, free: 2.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.395, allocations: 0.491 MB / 0.5991 GB, free: 2.051 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.395, allocations: 33.7 kB / 0.5991 GB, free: 2.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3952, allocations: 276.4 kB / 0.5993 GB, free: 1.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3953, allocations: 114.5 kB / 0.5995 GB, free: 1.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3955, allocations: 73.59 kB / 0.5995 GB, free: 1.547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3956, allocations: 362.8 kB / 0.5999 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.396, allocations: 180.7 kB / 0.6 GB, free: 1.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.3965, allocations: 272.9 kB / 0.6003 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.3974, allocations: 478.3 kB / 0.6008 GB, free: 208 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3974, allocations: 4 kB / 0.6008 GB, free: 204 kB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001442/0.3988, allocations: 0.62 MB / 0.6014 GB, free: 15.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.3989, allocations: 33.7 kB / 0.6014 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3989, allocations: 4.156 kB / 0.6014 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.3993, allocations: 84.8 kB / 0.6015 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3997, allocations: 79.83 kB / 0.6016 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005262/0.4003, allocations: 0.603 MB / 0.6022 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.4009, allocations: 67.7 kB / 0.6022 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.4009, allocations: 19.98 kB / 0.6022 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006233/0.4015, allocations: 316 kB / 0.6025 GB, free: 14.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005543/0.4021, allocations: 261.3 kB / 0.6028 GB, free: 14.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009837/0.4031, allocations: 469 kB / 0.6032 GB, free: 13.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.4031, allocations: 3.938 kB / 0.6032 GB, free: 13.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001344/0.4045, allocations: 0.5927 MB / 0.6038 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.4045, allocations: 41.69 kB / 0.6039 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.4045, allocations: 0 / 0.6039 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.4047, allocations: 52.98 kB / 0.6039 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.4051, allocations: 75.88 kB / 0.604 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4066, allocations: 1.632 MB / 0.6056 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.4072, allocations: 75.83 kB / 0.6056 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.4072, allocations: 15.98 kB / 0.6057 GB, free: 10.89 MB / 426.7 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.000252/0.4075, allocations: 241.8 kB / 0.6059 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.4076, allocations: 63.25 kB / 0.606 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.4091, allocations: 0.6492 MB / 0.6066 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4091, allocations: 4 kB / 0.6066 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.4091, allocations: 0 / 0.6066 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/0.4104, allocations: 0.8027 MB / 0.6074 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.4128, allocations: 1.311 MB / 0.6087 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4128, allocations: 0 / 0.6087 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.4132, allocations: 63.94 kB / 0.6087 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001544/0.4133, allocations: 56.86 kB / 0.6088 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.4134, allocations: 11.98 kB / 0.6088 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003737/0.4138, allocations: 0.5796 MB / 0.6093 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4138, allocations: 0 / 0.6093 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008371/0.4222, allocations: 5.775 MB / 0.615 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.4224, allocations: 180.2 kB / 0.6152 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.4225, allocations: 16 kB / 0.6152 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.4231, allocations: 56 kB / 0.6152 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.4231, allocations: 11.98 kB / 0.6152 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.4232, allocations: 27.97 kB / 0.6153 GB, free: 456 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003933/0.4236, allocations: 342.9 kB / 0.6156 GB, free: 116 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4236, allocations: 4 kB / 0.6156 GB, free: 112 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001933/0.4255, allocations: 0.523 MB / 0.6161 GB, free: 15.58 MB / 442.7 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.0007453/0.4263, allocations: 309 kB / 0.6164 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.4286, allocations: 0.974 MB / 0.6174 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4286, allocations: 12 kB / 0.6174 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006714/0.4293, allocations: 311.4 kB / 0.6177 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4307, allocations: 242.8 kB / 0.6179 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.4336, allocations: 1.767 MB / 0.6196 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.4342, allocations: 0.8863 MB / 0.6205 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005564/0.4347, allocations: 132.4 kB / 0.6206 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4349, allocations: 51.41 kB / 0.6207 GB, free: 10.77 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4349, allocations: 0 / 0.6207 GB, free: 10.77 MB / 442.7 MB Notification: Performance of Templates: time 0.02021/0.4551, allocations: 12.28 MB / 0.6326 GB, free: 14.6 MB / 458.7 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)