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.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00153/0.00153, allocations: 197.9 kB / 16.26 MB, free: 6.629 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9542/0.9542, allocations: 135.6 MB / 425.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 65.58 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1521, allocations: 81.02 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4754/0.6276, allocations: 196.3 MB / 0.7762 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.6441, allocations: 10.26 MB / 0.7862 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.6463, allocations: 55.69 kB / 0.7862 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.6485, allocations: 0.4971 MB / 0.7867 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005791/0.6543, allocations: 1.833 MB / 0.7885 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.6585, allocations: 1.258 MB / 0.7897 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004515/0.663, allocations: 2.805 MB / 0.7925 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.6651, allocations: 1.152 MB / 0.7936 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005135/0.6703, allocations: 1.661 MB / 0.7952 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.6726, allocations: 0.9976 MB / 0.7962 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.6731, allocations: 124 kB / 0.7963 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004749/0.6778, allocations: 2.229 MB / 0.7985 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.6785, allocations: 430.6 kB / 0.7989 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.68, allocations: 0.7112 MB / 0.7996 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006325/0.6863, allocations: 2.59 MB / 0.8021 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6863, allocations: 0 / 0.8021 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6864, allocations: 0 / 0.8021 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.112e-05/0.6864, allocations: 0 / 0.8021 GB, free: 13.49 MB / 0.6231 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.004098/0.6905, allocations: 1.822 MB / 0.8039 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6906, allocations: 8.031 kB / 0.8039 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.6928, allocations: 365.8 kB / 0.8043 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.6944, allocations: 0.9245 MB / 0.8052 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.237e-05/0.6945, allocations: 77.98 kB / 0.8052 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.6947, allocations: 100 kB / 0.8053 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.6965, allocations: 1.103 MB / 0.8064 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.6966, allocations: 4 kB / 0.8064 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.6967, allocations: 40 kB / 0.8065 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/0.6967, allocations: 38 kB / 0.8065 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6982, allocations: 0.8041 MB / 0.8073 GB, free: 8.059 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.005843/0.704, allocations: 5.074 MB / 0.8122 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.7053, allocations: 0.7162 MB / 0.8129 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.7058, allocations: 346.4 kB / 0.8133 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.7064, allocations: 319.9 kB / 0.8136 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.7065, allocations: 43.59 kB / 0.8136 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 5.4e-06/0.7065, allocations: 0 / 0.8136 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.00191/0.7084, allocations: 0.9388 MB / 0.8145 GB, free: 208 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7085, allocations: 63.97 kB / 0.8146 GB, free: 132 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.7095, allocations: 0.8725 MB / 0.8154 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.7096, allocations: 37.7 kB / 0.8155 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.71, allocations: 0.5584 MB / 0.816 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.7102, allocations: 256.3 kB / 0.8163 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.7105, allocations: 138.6 kB / 0.8164 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7106, allocations: 333.9 kB / 0.8167 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.7111, allocations: 260.7 kB / 0.817 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.7117, allocations: 447 kB / 0.8174 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.7129, allocations: 0.7054 MB / 0.8181 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.7129, allocations: 4 kB / 0.8181 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001412/0.7143, allocations: 0.8354 MB / 0.8189 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7143, allocations: 8 kB / 0.8189 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7143, allocations: 4 kB / 0.8189 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.7144, allocations: 8 kB / 0.8189 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.716, allocations: 264.2 kB / 0.8192 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.7175, allocations: 1.497 MB / 0.8206 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008377/0.7183, allocations: 115.2 kB / 0.8207 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.7184, allocations: 32 kB / 0.8208 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008784/0.7193, allocations: 475.5 kB / 0.8212 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006414/0.72, allocations: 451 kB / 0.8217 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/0.7211, allocations: 0.7015 MB / 0.8223 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.7211, allocations: 3.938 kB / 0.8223 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00146/0.7226, allocations: 0.8397 MB / 0.8232 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7226, allocations: 8 kB / 0.8232 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7226, allocations: 4 kB / 0.8232 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.7226, allocations: 8 kB / 0.8232 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.7241, allocations: 263.7 kB / 0.8234 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.7256, allocations: 1.485 MB / 0.8249 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.7265, allocations: 99.03 kB / 0.825 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.7266, allocations: 36 kB / 0.825 GB, free: 4.832 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.000289/0.7269, allocations: 233 kB / 0.8252 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.727, allocations: 110.7 kB / 0.8253 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.7288, allocations: 0.794 MB / 0.8261 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7288, allocations: 8 kB / 0.8261 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7288, allocations: 3.984 kB / 0.8261 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/0.7302, allocations: 0.7078 MB / 0.8268 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.7335, allocations: 1.934 MB / 0.8287 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.7335, allocations: 4 kB / 0.8287 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.7342, allocations: 148 kB / 0.8288 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.7345, allocations: 32.83 kB / 0.8289 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.7346, allocations: 23.98 kB / 0.8289 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.7361, allocations: 1.454 MB / 0.8303 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7361, allocations: 4 kB / 0.8303 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.7383, allocations: 1.254 MB / 0.8316 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.7387, allocations: 255.5 kB / 0.8318 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.7388, allocations: 16 kB / 0.8318 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.7395, allocations: 59.84 kB / 0.8319 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.7396, allocations: 48.5 kB / 0.8319 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.7397, allocations: 23.94 kB / 0.8319 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008036/0.7405, allocations: 0.6006 MB / 0.8325 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7405, allocations: 0 / 0.8325 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001376/0.7419, allocations: 0.5336 MB / 0.833 GB, free: 12.25 MB / 0.6544 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.0005129/0.7424, allocations: 221.4 kB / 0.8333 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00403/0.7464, allocations: 1.287 MB / 0.8345 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7464, allocations: 0 / 0.8345 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.7473, allocations: 450 kB / 0.8349 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.7495, allocations: 0.5225 MB / 0.8355 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.754, allocations: 2.651 MB / 0.838 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008528/0.7549, allocations: 1.136 MB / 0.8392 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001065/0.756, allocations: 276.8 kB / 0.8394 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.7562, allocations: 83.38 kB / 0.8395 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.7562, allocations: 0 / 0.8395 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of Templates: time 0.03685/0.793, allocations: 17.59 MB / 0.8567 GB, free: 4.277 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)