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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008776/0.0008777, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009348/0.0009349, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8366/0.8366, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8.625 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 82.3 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4204/0.5662, allocations: 164.8 MB / 0.7482 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.5783, allocations: 9.339 MB / 0.7573 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.5797, allocations: 47.69 kB / 0.7573 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.5811, allocations: 0.5208 MB / 0.7578 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.5853, allocations: 1.72 MB / 0.7595 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.5888, allocations: 1.359 MB / 0.7609 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.5914, allocations: 1.669 MB / 0.7625 GB, free: 9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.5926, allocations: 0.8827 MB / 0.7633 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.5949, allocations: 1.183 MB / 0.7645 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008337/0.5957, allocations: 0.6417 MB / 0.7651 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.5958, allocations: 48 kB / 0.7652 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.5982, allocations: 1.053 MB / 0.7662 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.5985, allocations: 314.9 kB / 0.7665 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.5988, allocations: 273 kB / 0.7668 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.6006, allocations: 1.528 MB / 0.7683 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6006, allocations: 0 / 0.7683 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6006, allocations: 0 / 0.7683 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.6006, allocations: 0 / 0.7683 GB, free: 3.051 MB / 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.002255/0.6029, allocations: 1.544 MB / 0.7698 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.6029, allocations: 8.031 kB / 0.7698 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.6048, allocations: 374.5 kB / 0.7701 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6062, allocations: 0.8708 MB / 0.771 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.6063, allocations: 85.94 kB / 0.7711 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6064, allocations: 100.1 kB / 0.7712 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.608, allocations: 1.087 MB / 0.7722 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.608, allocations: 3.938 kB / 0.7722 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.997e-05/0.6081, allocations: 44 kB / 0.7723 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.6081, allocations: 41.98 kB / 0.7723 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.6094, allocations: 0.7924 MB / 0.7731 GB, free: 13.96 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.005167/0.6146, allocations: 5.071 MB / 0.778 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.6157, allocations: 0.7108 MB / 0.7787 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.6161, allocations: 149.7 kB / 0.7789 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.6161, allocations: 39.12 kB / 0.7789 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.294e-06/0.6162, allocations: 0 / 0.7789 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001731/0.6179, allocations: 0.9389 MB / 0.7798 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.6179, allocations: 63.95 kB / 0.7799 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.6188, allocations: 0.8647 MB / 0.7807 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.6189, allocations: 41.7 kB / 0.7808 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.6193, allocations: 0.5584 MB / 0.7813 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.6195, allocations: 240.4 kB / 0.7815 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.6195, allocations: 16 kB / 0.7816 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6196, allocations: 334 kB / 0.7819 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.6201, allocations: 249.9 kB / 0.7821 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.6206, allocations: 443 kB / 0.7825 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.6211, allocations: 307.1 kB / 0.7828 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6211, allocations: 3.953 kB / 0.7828 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001229/0.6223, allocations: 0.8315 MB / 0.7836 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005876/0.6229, allocations: 1.837 MB / 0.7854 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.623, allocations: 11.08 kB / 0.7854 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.623, allocations: 8 kB / 0.7855 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.6244, allocations: 255.7 kB / 0.7857 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.6257, allocations: 1.397 MB / 0.7871 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.6264, allocations: 115.3 kB / 0.7872 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.6265, allocations: 35.98 kB / 0.7872 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.6265, allocations: 6.344 kB / 0.7872 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/0.6276, allocations: 0.7021 MB / 0.7879 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6276, allocations: 4.625 kB / 0.7879 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.6277, allocations: 12 kB / 0.7879 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.629, allocations: 247.7 kB / 0.7881 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.6301, allocations: 1.398 MB / 0.7895 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.6308, allocations: 106.2 kB / 0.7896 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.6309, allocations: 35.94 kB / 0.7896 GB, free: 12.06 MB / 0.6075 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 (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.0004352/0.6313, allocations: 368.8 kB / 0.79 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.6315, allocations: 114.6 kB / 0.7901 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.6329, allocations: 0.7886 MB / 0.7909 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.633, allocations: 8 kB / 0.7909 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.633, allocations: 3.953 kB / 0.7909 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.6341, allocations: 0.7 MB / 0.7916 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.637, allocations: 1.93 MB / 0.7935 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.6371, allocations: 7.938 kB / 0.7935 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.6377, allocations: 144.5 kB / 0.7936 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.6381, allocations: 49.12 kB / 0.7937 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.6382, allocations: 19.98 kB / 0.7937 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.6393, allocations: 1.357 MB / 0.795 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6393, allocations: 4.062 kB / 0.795 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.6412, allocations: 1.342 MB / 0.7963 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.6416, allocations: 255.5 kB / 0.7966 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6417, allocations: 23.94 kB / 0.7966 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/0.6423, allocations: 59.8 kB / 0.7966 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.6424, allocations: 48.5 kB / 0.7967 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.6424, allocations: 20 kB / 0.7967 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006573/0.6431, allocations: 0.585 MB / 0.7973 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6431, allocations: 3.938 kB / 0.7973 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001201/0.6443, allocations: 0.5336 MB / 0.7978 GB, free: 3.34 MB / 0.6075 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 (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.0004094/0.6447, allocations: 213.1 kB / 0.798 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.6478, allocations: 1.178 MB / 0.7991 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6478, allocations: 0 / 0.7991 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.6485, allocations: 450 kB / 0.7996 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.6505, allocations: 0.501 MB / 0.8001 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.6539, allocations: 2.664 MB / 0.8027 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.6545, allocations: 1.167 MB / 0.8038 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008677/0.6554, allocations: 273.6 kB / 0.8041 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.6556, allocations: 91.36 kB / 0.8042 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of SimCode: time 3.8e-07/0.6556, allocations: 0 / 0.8042 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.02658/0.6822, allocations: 16.38 MB / 0.8202 GB, free: 12.62 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: