Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002025/0.002025, 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-master/package.mo): time 0.7245/0.7245, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.488/1.488, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.001123/0.001123, allocations: 82.86 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.317e-05, allocations: 3.312 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1869, allocations: 82.31 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.443, allocations: 1.934 GB / 2.574 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/6.443, allocations: 89.52 kB / 2.574 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.569/9.013, allocations: 0.6277 GB / 3.202 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/9.013, allocations: 0 / 3.202 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000152/9.013, allocations: 38.72 kB / 3.202 GB, free: 104.2 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.004487/9.018, allocations: 1.572 MB / 3.203 GB, free: 103 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/9.018, allocations: 14.72 kB / 3.203 GB, free: 103 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/9.02, allocations: 365.7 kB / 3.204 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/9.023, allocations: 1.226 MB / 3.205 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/9.023, allocations: 81.48 kB / 3.205 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/9.024, allocations: 100.9 kB / 3.205 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/9.025, allocations: 1.081 MB / 3.206 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/9.025, allocations: 0 / 3.206 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/9.025, allocations: 44 kB / 3.206 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/9.026, allocations: 34 kB / 3.206 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/9.027, allocations: 0.7691 MB / 3.207 GB, free: 100.4 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.005596/9.032, allocations: 5.14 MB / 3.212 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/9.033, allocations: 0.661 MB / 3.213 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/9.034, allocations: 327.1 kB / 3.213 GB, free: 94.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/9.034, allocations: 312.7 kB / 3.213 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/9.034, allocations: 39.12 kB / 3.213 GB, free: 93.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.156e-06/9.034, allocations: 3.938 kB / 3.213 GB, free: 93.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001412/9.036, allocations: 0.6913 MB / 3.214 GB, free: 92.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/9.036, allocations: 166.7 kB / 3.214 GB, free: 92.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008921/9.037, allocations: 0.7506 MB / 3.215 GB, free: 91.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/9.037, allocations: 47.64 kB / 3.215 GB, free: 91.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/9.037, allocations: 0.5546 MB / 3.215 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/9.037, allocations: 247.6 kB / 3.216 GB, free: 91.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/9.037, allocations: 16 kB / 3.216 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/9.037, allocations: 335.8 kB / 3.216 GB, free: 90.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/9.038, allocations: 237.9 kB / 3.216 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/9.038, allocations: 481 kB / 3.217 GB, free: 90 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/9.039, allocations: 305.2 kB / 3.217 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/9.039, allocations: 7.688 kB / 3.217 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001131/9.04, allocations: 0.8037 MB / 3.218 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004104/9.04, allocations: 1.674 MB / 3.219 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/9.04, allocations: 4 kB / 3.219 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/9.04, allocations: 12 kB / 3.219 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/9.042, allocations: 259.7 kB / 3.22 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/9.043, allocations: 1.409 MB / 3.221 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/9.044, allocations: 131.3 kB / 3.221 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/9.044, allocations: 35.98 kB / 3.221 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/9.044, allocations: 4.625 kB / 3.221 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/9.045, allocations: 0.6821 MB / 3.222 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/9.045, allocations: 4 kB / 3.222 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/9.045, allocations: 8 kB / 3.222 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/9.047, allocations: 255.9 kB / 3.222 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009484/9.048, allocations: 1.411 MB / 3.223 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/9.049, allocations: 127.2 kB / 3.224 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/9.049, allocations: 39.94 kB / 3.224 GB, free: 82.46 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.0002467/9.049, allocations: 148.9 kB / 3.224 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/9.049, allocations: 110.6 kB / 3.224 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/9.051, allocations: 0.7931 MB / 3.225 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/9.051, allocations: 11.95 kB / 3.225 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/9.051, allocations: 0 / 3.225 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/9.052, allocations: 0.7029 MB / 3.225 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/9.055, allocations: 1.954 MB / 3.227 GB, free: 78.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/9.055, allocations: 4 kB / 3.227 GB, free: 78.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/9.056, allocations: 147.8 kB / 3.227 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003987/9.056, allocations: 51.86 kB / 3.227 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/9.056, allocations: 19.98 kB / 3.227 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/9.057, allocations: 1.379 MB / 3.229 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/9.057, allocations: 7.938 kB / 3.229 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/9.059, allocations: 1.337 MB / 3.23 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/9.06, allocations: 271.4 kB / 3.23 GB, free: 75.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/9.06, allocations: 27.95 kB / 3.23 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/9.061, allocations: 71.84 kB / 3.23 GB, free: 75.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/9.061, allocations: 40.5 kB / 3.231 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/9.061, allocations: 31.94 kB / 3.231 GB, free: 75.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008294/9.062, allocations: 0.59 MB / 3.231 GB, free: 74.42 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/9.062, allocations: 0 / 3.231 GB, free: 74.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002404/9.064, allocations: 0.7133 MB / 3.232 GB, free: 73.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.002907/9.067, allocations: 1.777 MB / 3.234 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002853/9.07, allocations: 1.14 MB / 3.235 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/9.07, allocations: 0 / 3.235 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/9.071, allocations: 449.6 kB / 3.235 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/9.073, allocations: 0.494 MB / 3.236 GB, free: 70.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/9.077, allocations: 1.711 MB / 3.237 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/9.078, allocations: 1.169 MB / 3.238 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001708/9.08, allocations: 354.8 kB / 3.239 GB, free: 66.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/9.08, allocations: 63.42 kB / 3.239 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/9.08, allocations: 4 kB / 3.239 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.06437/9.144, allocations: 44.51 MB / 3.282 GB, free: 22.53 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)