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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001494/0.001494, allocations: 198 kB / 17.3 MB, free: 5.883 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8065/0.8065, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.88 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4296, allocations: 80.91 MB / 0.5857 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.568/0.9976, allocations: 198.8 MB / 0.7799 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01396/1.012, allocations: 10.34 MB / 0.79 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/1.015, allocations: 59.16 kB / 0.7901 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/1.016, allocations: 0.5749 MB / 0.7906 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005962/1.022, allocations: 1.971 MB / 0.7926 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/1.026, allocations: 1.386 MB / 0.7939 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003807/1.03, allocations: 2.806 MB / 0.7967 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/1.032, allocations: 1.17 MB / 0.7978 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/1.036, allocations: 1.678 MB / 0.7994 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/1.037, allocations: 0.9578 MB / 0.8004 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.037, allocations: 123.1 kB / 0.8005 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004353/1.042, allocations: 2.153 MB / 0.8026 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003906/1.042, allocations: 425.4 kB / 0.803 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007045/1.043, allocations: 0.7114 MB / 0.8037 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/1.046, allocations: 2.524 MB / 0.8062 GB, free: 492 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.046, allocations: 0 / 0.8062 GB, free: 492 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/1.046, allocations: 0.8438 kB / 0.8062 GB, free: 492 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.861e-05/1.046, allocations: 0 / 0.8062 GB, free: 492 kB / 0.5762 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.002695/1.049, allocations: 1.813 MB / 0.8079 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.049, allocations: 11.11 kB / 0.8079 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/1.051, allocations: 368.8 kB / 0.8083 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/1.053, allocations: 0.9807 MB / 0.8093 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/1.053, allocations: 77.97 kB / 0.8093 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/1.053, allocations: 100 kB / 0.8094 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/1.055, allocations: 1.106 MB / 0.8105 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.055, allocations: 1 kB / 0.8105 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/1.055, allocations: 41.34 kB / 0.8105 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/1.055, allocations: 35.88 kB / 0.8106 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/1.056, allocations: 0.8095 MB / 0.8114 GB, free: 14.87 MB / 0.5919 GB 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.005816/1.062, allocations: 5.059 MB / 0.8163 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/1.063, allocations: 0.716 MB / 0.817 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/1.064, allocations: 356.2 kB / 0.8174 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/1.065, allocations: 310.9 kB / 0.8176 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.065, allocations: 41.62 kB / 0.8177 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.074e-06/1.065, allocations: 1.031 kB / 0.8177 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001743/1.066, allocations: 0.9388 MB / 0.8186 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.066, allocations: 58.81 kB / 0.8187 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.067, allocations: 0.8784 MB / 0.8195 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/1.067, allocations: 42.42 kB / 0.8196 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/1.068, allocations: 0.5605 MB / 0.8201 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/1.068, allocations: 255.1 kB / 0.8203 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/1.068, allocations: 141.9 kB / 0.8205 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.068, allocations: 338.6 kB / 0.8208 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/1.069, allocations: 257.7 kB / 0.8211 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/1.069, allocations: 449.2 kB / 0.8215 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/1.07, allocations: 0.7033 MB / 0.8222 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.07, allocations: 2.438 kB / 0.8222 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001348/1.072, allocations: 0.8402 MB / 0.823 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.072, allocations: 4.875 kB / 0.823 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.072, allocations: 14.33 kB / 0.823 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.072, allocations: 8.469 kB / 0.823 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/1.073, allocations: 260.2 kB / 0.8233 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/1.075, allocations: 1.492 MB / 0.8247 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/1.076, allocations: 88.11 kB / 0.8248 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/1.076, allocations: 30.92 kB / 0.8248 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008014/1.076, allocations: 473.6 kB / 0.8253 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000652/1.077, allocations: 457.5 kB / 0.8257 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/1.078, allocations: 0.6935 MB / 0.8264 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.078, allocations: 7.562 kB / 0.8264 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001324/1.08, allocations: 0.833 MB / 0.8272 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.08, allocations: 7.688 kB / 0.8272 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.08, allocations: 9.688 kB / 0.8272 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/1.08, allocations: 8.875 kB / 0.8272 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.081, allocations: 260.5 kB / 0.8275 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/1.082, allocations: 1.481 MB / 0.8289 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/1.083, allocations: 69.3 kB / 0.829 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/1.083, allocations: 37.86 kB / 0.829 GB, free: 5.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002506/1.083, allocations: 235.1 kB / 0.8293 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.084, allocations: 107.6 kB / 0.8294 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/1.085, allocations: 0.7953 MB / 0.8301 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.085, allocations: 8.094 kB / 0.8302 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.085, allocations: 3.938 kB / 0.8302 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/1.087, allocations: 0.7094 MB / 0.8309 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/1.09, allocations: 1.927 MB / 0.8327 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.09, allocations: 2.719 kB / 0.8327 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006999/1.091, allocations: 143.1 kB / 0.8329 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/1.091, allocations: 47.36 kB / 0.8329 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/1.091, allocations: 13.41 kB / 0.8329 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/1.092, allocations: 1.456 MB / 0.8344 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.092, allocations: 6.938 kB / 0.8344 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/1.095, allocations: 1.253 MB / 0.8356 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/1.095, allocations: 259.5 kB / 0.8358 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.095, allocations: 12.69 kB / 0.8358 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/1.096, allocations: 28.89 kB / 0.8359 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/1.096, allocations: 54.09 kB / 0.8359 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/1.096, allocations: 25.11 kB / 0.8359 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007694/1.097, allocations: 0.5951 MB / 0.8365 GB, free: 308 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.097, allocations: 0 / 0.8365 GB, free: 308 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001332/1.098, allocations: 0.5347 MB / 0.8371 GB, free: 180 kB / 0.5919 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 () * Number of clocked 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 (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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004602/1.098, allocations: 214.2 kB / 0.8373 GB, free: 44 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003569/1.102, allocations: 1.21 MB / 0.8384 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.102, allocations: 3.188 kB / 0.8384 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000796/1.103, allocations: 449.6 kB / 0.8389 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.105, allocations: 0.5082 MB / 0.8394 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/1.109, allocations: 2.176 MB / 0.8415 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/1.11, allocations: 1.147 MB / 0.8426 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001071/1.111, allocations: 272.8 kB / 0.8429 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/1.111, allocations: 86.61 kB / 0.843 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/1.111, allocations: 0 / 0.843 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Templates: time 0.03243/1.143, allocations: 17.66 MB / 0.8602 GB, free: 9.02 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)