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.0008365/0.0008366, allocations: 92.31 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 177.3 kB / 16.92 MB, free: 6.652 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9395/0.9395, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 9.344 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1872, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5122/0.6994, allocations: 193.9 MB / 0.778 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.715, allocations: 10.31 MB / 0.788 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.7175, allocations: 51.69 kB / 0.7881 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.7194, allocations: 481.2 kB / 0.7886 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.7257, allocations: 1.824 MB / 0.7903 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.7296, allocations: 1.246 MB / 0.7916 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005174/0.7348, allocations: 3.664 MB / 0.7951 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.7367, allocations: 0.9813 MB / 0.7961 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004724/0.7414, allocations: 1.466 MB / 0.7975 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.7436, allocations: 0.9183 MB / 0.7984 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002284/0.7438, allocations: 48 kB / 0.7985 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.7486, allocations: 2.377 MB / 0.8008 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.7492, allocations: 342.7 kB / 0.8011 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009951/0.7502, allocations: 0.6425 MB / 0.8017 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.7532, allocations: 1.785 MB / 0.8035 GB, free: 336 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.7532, allocations: 4 kB / 0.8035 GB, free: 332 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7532, allocations: 3.938 kB / 0.8035 GB, free: 328 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.7533, allocations: 0 / 0.8035 GB, free: 328 kB / 0.6075 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.002928/0.7562, allocations: 1.565 MB / 0.805 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.7563, allocations: 8.031 kB / 0.805 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.7584, allocations: 373.8 kB / 0.8054 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.76, allocations: 0.9128 MB / 0.8063 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.7601, allocations: 85.98 kB / 0.8064 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.7603, allocations: 100 kB / 0.8064 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.762, allocations: 1.103 MB / 0.8075 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.7621, allocations: 0 / 0.8075 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.7622, allocations: 44 kB / 0.8076 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.7622, allocations: 34 kB / 0.8076 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.7636, allocations: 0.8041 MB / 0.8084 GB, free: 11.15 MB / 0.6231 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.005953/0.7696, allocations: 5.082 MB / 0.8133 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.7709, allocations: 0.7028 MB / 0.814 GB, free: 5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.7714, allocations: 358.4 kB / 0.8144 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/0.7721, allocations: 331.9 kB / 0.8147 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.7722, allocations: 39.12 kB / 0.8147 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/0.7722, allocations: 0 / 0.8147 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002065/0.7743, allocations: 0.9469 MB / 0.8157 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7743, allocations: 55.97 kB / 0.8157 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.7755, allocations: 0.8725 MB / 0.8166 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.7756, allocations: 41.7 kB / 0.8166 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.776, allocations: 0.5584 MB / 0.8171 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.7762, allocations: 248.3 kB / 0.8174 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.7763, allocations: 73.67 kB / 0.8175 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7765, allocations: 337.9 kB / 0.8178 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.777, allocations: 253.9 kB / 0.818 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.7776, allocations: 447 kB / 0.8184 GB, free: 296 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.7787, allocations: 0.7015 MB / 0.8191 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.7787, allocations: 3.938 kB / 0.8191 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001474/0.7802, allocations: 0.8354 MB / 0.8199 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.7803, allocations: 231.1 kB / 0.8202 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.7804, allocations: 4 kB / 0.8202 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.7804, allocations: 12 kB / 0.8202 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.782, allocations: 251.7 kB / 0.8204 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.7835, allocations: 1.405 MB / 0.8218 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.7845, allocations: 107.3 kB / 0.8219 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.7846, allocations: 31.98 kB / 0.8219 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.7846, allocations: 4 kB / 0.8219 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/0.7858, allocations: 0.7105 MB / 0.8226 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7859, allocations: 8 kB / 0.8226 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7859, allocations: 8 kB / 0.8226 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.7874, allocations: 251.7 kB / 0.8229 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.7886, allocations: 1.397 MB / 0.8242 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7897, allocations: 106.3 kB / 0.8243 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.7897, allocations: 35.98 kB / 0.8244 GB, free: 9.801 MB / 0.6387 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.0006033/0.7904, allocations: 364.9 kB / 0.8247 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.7905, allocations: 110.6 kB / 0.8248 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.7922, allocations: 0.7941 MB / 0.8256 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.7922, allocations: 8 kB / 0.8256 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.7923, allocations: 0 / 0.8256 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/0.7936, allocations: 0.7078 MB / 0.8263 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/0.7971, allocations: 1.934 MB / 0.8282 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7971, allocations: 4 kB / 0.8282 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.7978, allocations: 140.1 kB / 0.8283 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/0.7983, allocations: 52.75 kB / 0.8284 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.7984, allocations: 19.94 kB / 0.8284 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.7997, allocations: 1.352 MB / 0.8297 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7997, allocations: 224 / 0.8297 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.8019, allocations: 1.261 MB / 0.831 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.8024, allocations: 259.4 kB / 0.8312 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.8025, allocations: 16 kB / 0.8312 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/0.8032, allocations: 51.95 kB / 0.8313 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.8033, allocations: 56.38 kB / 0.8313 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.8034, allocations: 27.98 kB / 0.8314 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007762/0.8041, allocations: 0.5928 MB / 0.8319 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8041, allocations: 0 / 0.8319 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001454/0.8056, allocations: 0.5335 MB / 0.8325 GB, free: 1.184 MB / 0.6387 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.0005374/0.8061, allocations: 220.4 kB / 0.8327 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.8097, allocations: 1.186 MB / 0.8338 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.8097, allocations: 0 / 0.8338 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.8106, allocations: 443.9 kB / 0.8342 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/0.8138, allocations: 0.5042 MB / 0.8347 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.8188, allocations: 2.791 MB / 0.8375 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/0.8197, allocations: 1.144 MB / 0.8386 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.8201, allocations: 87.42 kB / 0.8387 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/0.8201, allocations: 0 / 0.8387 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.03267/0.8528, allocations: 21.31 MB / 0.8595 GB, free: 5.586 MB / 0.67 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)