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.001152/0.001152, allocations: 103.1 kB / 15.98 MB, free: 6.34 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.001171/0.001171, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7812/0.7812, allocations: 122.9 MB / 413.6 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001349, allocations: 59.91 kB / 0.4906 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3443, allocations: 77.93 MB / 0.5667 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01788/0.3622, allocations: 20.68 MB / 0.5869 GB, free: 17.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007266/0.3695, allocations: 5.375 MB / 0.5922 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.3706, allocations: 20.88 kB / 0.5922 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.3718, allocations: 297.2 kB / 0.5925 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.3744, allocations: 0.8532 MB / 0.5933 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.3768, allocations: 0.8522 MB / 0.5941 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.3797, allocations: 1.734 MB / 0.5958 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009875/0.3807, allocations: 496 kB / 0.5963 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.3829, allocations: 0.7078 MB / 0.597 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.384, allocations: 0.5057 MB / 0.5975 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.3842, allocations: 41.88 kB / 0.5975 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.3869, allocations: 1.126 MB / 0.5986 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.3872, allocations: 144.9 kB / 0.5988 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006448/0.3878, allocations: 329.4 kB / 0.5991 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.3904, allocations: 1.205 MB / 0.6003 GB, free: 7.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3904, allocations: 0 / 0.6003 GB, free: 7.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3904, allocations: 5.531 kB / 0.6003 GB, free: 7.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.3905, allocations: 3.938 kB / 0.6003 GB, free: 7.773 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.002231/0.3927, allocations: 1.043 MB / 0.6013 GB, free: 6.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.3928, allocations: 9.75 kB / 0.6013 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3938, allocations: 174.1 kB / 0.6015 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3949, allocations: 0.5591 MB / 0.602 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/0.3953, allocations: 91.53 kB / 0.6021 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.3954, allocations: 38.16 kB / 0.6021 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3964, allocations: 0.4908 MB / 0.6026 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3965, allocations: 4 kB / 0.6026 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.3965, allocations: 16 kB / 0.6026 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.3966, allocations: 8 kB / 0.6026 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.3975, allocations: 418.6 kB / 0.603 GB, free: 5.48 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.002694/0.4002, allocations: 2.293 MB / 0.6053 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.4011, allocations: 376.6 kB / 0.6056 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.4016, allocations: 232.9 kB / 0.6059 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.4018, allocations: 340.6 kB / 0.6062 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005707/0.4024, allocations: 303 kB / 0.6065 GB, free: 1.648 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/0.4024, allocations: 0 / 0.6065 GB, free: 1.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002103/0.4045, allocations: 0.8694 MB / 0.6073 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4046, allocations: 85.11 kB / 0.6074 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.4051, allocations: 498.8 kB / 0.6079 GB, free: 152 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.4052, allocations: 37.69 kB / 0.6079 GB, free: 108 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.4054, allocations: 276.5 kB / 0.6082 GB, free: 15.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.4056, allocations: 106.4 kB / 0.6083 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.4058, allocations: 81.58 kB / 0.6084 GB, free: 15.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.406, allocations: 362.8 kB / 0.6087 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.4065, allocations: 182.1 kB / 0.6089 GB, free: 15.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.4071, allocations: 269 kB / 0.6091 GB, free: 14.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.4081, allocations: 473.2 kB / 0.6096 GB, free: 14.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4081, allocations: 0 / 0.6096 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001705/0.4098, allocations: 0.6277 MB / 0.6102 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.4099, allocations: 39.56 kB / 0.6102 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4099, allocations: 4.156 kB / 0.6102 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.4104, allocations: 76.75 kB / 0.6103 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4107, allocations: 83.81 kB / 0.6104 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005346/0.4113, allocations: 0.5952 MB / 0.611 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.412, allocations: 71.73 kB / 0.611 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.412, allocations: 23.92 kB / 0.6111 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006461/0.4127, allocations: 315.8 kB / 0.6114 GB, free: 12.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005627/0.4133, allocations: 269.2 kB / 0.6116 GB, free: 12.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009652/0.4142, allocations: 461.2 kB / 0.6121 GB, free: 11.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.4143, allocations: 4.062 kB / 0.6121 GB, free: 11.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001476/0.4157, allocations: 0.5926 MB / 0.6126 GB, free: 11.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.4158, allocations: 41.69 kB / 0.6127 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4158, allocations: 160 / 0.6127 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.416, allocations: 52.83 kB / 0.6127 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.4164, allocations: 75.88 kB / 0.6128 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.4182, allocations: 1.81 MB / 0.6146 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.4189, allocations: 75.81 kB / 0.6147 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.419, allocations: 19.88 kB / 0.6147 GB, free: 8.797 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.000283/0.4193, allocations: 230 kB / 0.6149 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.4194, allocations: 59.38 kB / 0.6149 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.421, allocations: 0.6568 MB / 0.6156 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.421, allocations: 4 kB / 0.6156 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.421, allocations: 3.938 kB / 0.6156 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.4224, allocations: 0.8098 MB / 0.6164 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.4248, allocations: 1.295 MB / 0.6177 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.4248, allocations: 0 / 0.6177 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.4252, allocations: 71.92 kB / 0.6177 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001597/0.4254, allocations: 44.83 kB / 0.6178 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.4254, allocations: 12 kB / 0.6178 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004054/0.4258, allocations: 0.5834 MB / 0.6183 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.4258, allocations: 4.031 kB / 0.6183 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.4278, allocations: 0.9756 MB / 0.6193 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.4282, allocations: 184.2 kB / 0.6195 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.4283, allocations: 8 kB / 0.6195 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.4289, allocations: 55.95 kB / 0.6195 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.429, allocations: 23.91 kB / 0.6196 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.4291, allocations: 32.03 kB / 0.6196 GB, free: 3.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.4295, allocations: 342.9 kB / 0.6199 GB, free: 3.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4295, allocations: 4 kB / 0.6199 GB, free: 3.152 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001257/0.4308, allocations: 343.4 kB / 0.6202 GB, free: 2.816 MB / 462.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.0008388/0.4316, allocations: 295.8 kB / 0.6205 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.4339, allocations: 1.01 MB / 0.6215 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.434, allocations: 8 kB / 0.6215 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.4346, allocations: 320 kB / 0.6218 GB, free: 1.152 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4359, allocations: 232.7 kB / 0.6221 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.4383, allocations: 1.317 MB / 0.6233 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.4388, allocations: 0.8784 MB / 0.6242 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.4394, allocations: 135.4 kB / 0.6243 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.4396, allocations: 47.42 kB / 0.6244 GB, free: 14.5 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4396, allocations: 0 / 0.6244 GB, free: 14.5 MB / 478.1 MB Notification: Performance of Templates: time 0.02123/0.4608, allocations: 11.28 MB / 0.6354 GB, free: 3.379 MB / 478.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)