Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9268/0.9268, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 396.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008422, allocations: 96.05 kB / 479 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.088e-05, allocations: 4.219 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1658, allocations: 81.58 MB / 0.6347 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.058/6.223, allocations: 1.933 GB / 2.568 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/6.224, allocations: 87.61 kB / 2.568 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.531/8.755, allocations: 0.6277 GB / 3.196 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.767e-06/8.755, allocations: 0 / 3.196 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001788/8.755, allocations: 37.8 kB / 3.196 GB, free: 117.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005537/8.761, allocations: 1.57 MB / 3.197 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/8.761, allocations: 17.25 kB / 3.197 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/8.765, allocations: 365.9 kB / 3.198 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/8.769, allocations: 1.217 MB / 3.199 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/8.77, allocations: 85.05 kB / 3.199 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/8.77, allocations: 106.4 kB / 3.199 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/8.772, allocations: 1.076 MB / 3.2 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/8.773, allocations: 3.844 kB / 3.2 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/8.773, allocations: 44.53 kB / 3.2 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/8.773, allocations: 35.91 kB / 3.2 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/8.775, allocations: 0.7623 MB / 3.201 GB, free: 115.9 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008723/8.783, allocations: 5.134 MB / 3.206 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/8.785, allocations: 0.6601 MB / 3.207 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006573/8.785, allocations: 328.3 kB / 3.207 GB, free: 113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006854/8.786, allocations: 316.5 kB / 3.207 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/8.786, allocations: 40.94 kB / 3.207 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 4.258e-06/8.786, allocations: 0 / 3.207 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002101/8.788, allocations: 0.6881 MB / 3.208 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/8.788, allocations: 169.8 kB / 3.208 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/8.79, allocations: 0.7501 MB / 3.209 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/8.79, allocations: 42.2 kB / 3.209 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/8.79, allocations: 0.5571 MB / 3.209 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/8.791, allocations: 242.8 kB / 3.21 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/8.791, allocations: 15.78 kB / 3.21 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001062/8.791, allocations: 340.2 kB / 3.21 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/8.792, allocations: 245.6 kB / 3.21 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000729/8.792, allocations: 472.2 kB / 3.211 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/8.793, allocations: 315.5 kB / 3.211 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/8.793, allocations: 0 / 3.211 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001825/8.795, allocations: 0.807 MB / 3.212 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005877/8.795, allocations: 1.674 MB / 3.213 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/8.795, allocations: 3.938 kB / 3.213 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/8.795, allocations: 7.75 kB / 3.213 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/8.798, allocations: 252.8 kB / 3.214 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/8.799, allocations: 1.421 MB / 3.215 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/8.801, allocations: 126.6 kB / 3.215 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/8.801, allocations: 33.06 kB / 3.215 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/8.801, allocations: 6.469 kB / 3.215 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001818/8.803, allocations: 0.6829 MB / 3.216 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/8.803, allocations: 6.875 kB / 3.216 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/8.803, allocations: 6.375 kB / 3.216 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/8.805, allocations: 260.8 kB / 3.216 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/8.807, allocations: 1.408 MB / 3.218 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/8.809, allocations: 129.1 kB / 3.218 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/8.809, allocations: 37.38 kB / 3.218 GB, free: 105.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004782/8.81, allocations: 151.4 kB / 3.218 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/8.81, allocations: 112.2 kB / 3.218 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/8.813, allocations: 0.7948 MB / 3.219 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/8.813, allocations: 14.94 kB / 3.219 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/8.813, allocations: 0 / 3.219 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/8.814, allocations: 0.6985 MB / 3.219 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/8.82, allocations: 1.957 MB / 3.221 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/8.82, allocations: 0 / 3.221 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009803/8.821, allocations: 156.5 kB / 3.221 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004938/8.821, allocations: 47.19 kB / 3.222 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.671e-05/8.821, allocations: 19.02 kB / 3.222 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/8.823, allocations: 1.37 MB / 3.223 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/8.823, allocations: 6.219 kB / 3.223 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/8.826, allocations: 1.341 MB / 3.224 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/8.827, allocations: 265.8 kB / 3.224 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/8.827, allocations: 19.59 kB / 3.224 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/8.828, allocations: 80.56 kB / 3.225 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/8.828, allocations: 42.5 kB / 3.225 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/8.828, allocations: 27.39 kB / 3.225 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001232/8.83, allocations: 0.5823 MB / 3.225 GB, free: 101 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/8.83, allocations: 1.969 kB / 3.225 GB, free: 101 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003372/8.833, allocations: 0.7258 MB / 3.226 GB, free: 100.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00393/8.837, allocations: 1.779 MB / 3.228 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004138/8.841, allocations: 1.137 MB / 3.229 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/8.841, allocations: 0 / 3.229 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/8.842, allocations: 448.4 kB / 3.229 GB, free: 99.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/8.846, allocations: 0.4928 MB / 3.23 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/8.852, allocations: 1.712 MB / 3.231 GB, free: 97.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/8.852, allocations: 1.169 MB / 3.232 GB, free: 96.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002588/8.855, allocations: 353.3 kB / 3.233 GB, free: 96.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/8.855, allocations: 63 kB / 3.233 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.674e-06/8.855, allocations: 0 / 3.233 GB, free: 96.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.09765/8.953, allocations: 44.53 MB / 3.276 GB, free: 54.93 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)