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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0007836/0.0007836, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.0054/0.0054, allocations: 174.4 kB / 16.27 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7934/0.7934, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003707, allocations: 8 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5215, allocations: 81.57 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2262/0.7477, allocations: 193.9 MB / 0.773 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.7631, allocations: 10.31 MB / 0.7831 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.7651, allocations: 51.69 kB / 0.7832 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.7669, allocations: 477.1 kB / 0.7836 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.7726, allocations: 1.843 MB / 0.7854 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.7765, allocations: 1.235 MB / 0.7866 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005338/0.7819, allocations: 3.67 MB / 0.7902 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.7842, allocations: 0.9852 MB / 0.7912 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.7897, allocations: 1.455 MB / 0.7926 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.7919, allocations: 0.9189 MB / 0.7935 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.7923, allocations: 52 kB / 0.7935 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.7971, allocations: 2.377 MB / 0.7959 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005577/0.7976, allocations: 346.6 kB / 0.7962 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.7989, allocations: 0.6387 MB / 0.7968 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.8041, allocations: 2.496 MB / 0.7993 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8041, allocations: 0 / 0.7993 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8041, allocations: 0 / 0.7993 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.043e-05/0.8042, allocations: 0 / 0.7993 GB, free: 2.902 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.003415/0.8076, allocations: 1.561 MB / 0.8008 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.8077, allocations: 8.031 kB / 0.8008 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/0.81, allocations: 373.8 kB / 0.8011 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.8118, allocations: 0.9206 MB / 0.802 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.221e-05/0.8119, allocations: 78 kB / 0.8021 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.8121, allocations: 100 kB / 0.8022 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.8142, allocations: 1.107 MB / 0.8033 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.8142, allocations: 0 / 0.8033 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.8143, allocations: 44 kB / 0.8033 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.8144, allocations: 34 kB / 0.8034 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.816, allocations: 0.8079 MB / 0.8042 GB, free: 13.72 MB / 0.6387 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.006552/0.8225, allocations: 5.09 MB / 0.8091 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.8238, allocations: 0.7086 MB / 0.8098 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.8244, allocations: 351.5 kB / 0.8102 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.8251, allocations: 327.8 kB / 0.8105 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.8251, allocations: 47.06 kB / 0.8105 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.726e-06/0.8251, allocations: 0 / 0.8105 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.00206/0.8272, allocations: 0.9388 MB / 0.8114 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.8272, allocations: 55.97 kB / 0.8115 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.8284, allocations: 0.8764 MB / 0.8123 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.8285, allocations: 37.7 kB / 0.8124 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.829, allocations: 0.5624 MB / 0.8129 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.8292, allocations: 248.3 kB / 0.8132 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.8293, allocations: 69.67 kB / 0.8132 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8294, allocations: 341.9 kB / 0.8135 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.8299, allocations: 245.9 kB / 0.8138 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.8306, allocations: 451 kB / 0.8142 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.8317, allocations: 0.7093 MB / 0.8149 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8317, allocations: 0 / 0.8149 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001499/0.8332, allocations: 0.8275 MB / 0.8157 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.8334, allocations: 233.7 kB / 0.8159 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8334, allocations: 8 kB / 0.8159 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.8335, allocations: 8 kB / 0.816 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.835, allocations: 251.6 kB / 0.8162 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4564/1.291, allocations: 1.385 MB / 0.8175 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.293, allocations: 112.4 kB / 0.8177 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/1.293, allocations: 32.36 kB / 0.8177 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.293, allocations: 6.188 kB / 0.8177 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/1.295, allocations: 0.7105 MB / 0.8184 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.295, allocations: 5.062 kB / 0.8184 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.295, allocations: 12.17 kB / 0.8184 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.297, allocations: 250.2 kB / 0.8186 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/1.298, allocations: 1.396 MB / 0.82 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.299, allocations: 110.8 kB / 0.8201 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/1.299, allocations: 31.45 kB / 0.8201 GB, free: 25.57 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.0007018/1.3, allocations: 372.4 kB / 0.8205 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/1.3, allocations: 110 kB / 0.8206 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.303, allocations: 0.7905 MB / 0.8214 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.303, allocations: 7.766 kB / 0.8214 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.303, allocations: 2.719 kB / 0.8214 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/1.304, allocations: 0.7082 MB / 0.8221 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004405/1.309, allocations: 1.93 MB / 0.824 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.309, allocations: 5.469 kB / 0.824 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/1.309, allocations: 143.8 kB / 0.8241 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/1.31, allocations: 44.77 kB / 0.8241 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/1.31, allocations: 22.64 kB / 0.8242 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/1.311, allocations: 1.351 MB / 0.8255 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.311, allocations: 1.688 kB / 0.8255 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/1.314, allocations: 1.257 MB / 0.8267 GB, free: 23.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/1.314, allocations: 259.7 kB / 0.827 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.315, allocations: 15.72 kB / 0.827 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/1.315, allocations: 58.62 kB / 0.827 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.315, allocations: 49.81 kB / 0.8271 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/1.315, allocations: 23.14 kB / 0.8271 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009154/1.316, allocations: 0.5962 MB / 0.8277 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/1.316, allocations: 0 / 0.8277 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001921/1.318, allocations: 0.5348 MB / 0.8282 GB, free: 22.9 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.0005817/1.319, allocations: 217.2 kB / 0.8284 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003745/1.323, allocations: 1.191 MB / 0.8296 GB, free: 22.78 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.323, allocations: 1.219 kB / 0.8296 GB, free: 22.78 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007717/1.323, allocations: 450.4 kB / 0.83 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.326, allocations: 0.504 MB / 0.8305 GB, free: 22.64 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/1.33, allocations: 2.733 MB / 0.8332 GB, free: 21.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/1.331, allocations: 1.141 MB / 0.8343 GB, free: 20.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001238/1.332, allocations: 277.8 kB / 0.8345 GB, free: 20.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.333, allocations: 82.61 kB / 0.8346 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of SimCode: time 1.432e-06/1.333, allocations: 0 / 0.8346 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of Templates: time 0.0303/1.363, allocations: 16.92 MB / 0.8511 GB, free: 19.41 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (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)