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.006981/0.006982, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001284/0.001284, allocations: 195 kB / 16.67 MB, free: 6.379 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 62.73 kB / 0.5813 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1888, allocations: 80.2 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7119/0.9007, allocations: 198.8 MB / 0.8538 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.9184, allocations: 10.34 MB / 0.8639 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.9222, allocations: 55.97 kB / 0.864 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.9243, allocations: 0.5815 MB / 0.8646 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.931, allocations: 2.052 MB / 0.8666 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003639/0.9346, allocations: 1.388 MB / 0.8679 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.9385, allocations: 2.813 MB / 0.8707 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.9401, allocations: 1.176 MB / 0.8718 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.9442, allocations: 1.724 MB / 0.8735 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.9457, allocations: 0.9663 MB / 0.8744 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.946, allocations: 119.5 kB / 0.8746 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.9505, allocations: 2.153 MB / 0.8767 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007278/0.9513, allocations: 430.7 kB / 0.8771 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.9524, allocations: 0.7104 MB / 0.8778 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.9571, allocations: 2.532 MB / 0.8802 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9572, allocations: 0 / 0.8802 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9572, allocations: 0 / 0.8802 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.9572, allocations: 0.8125 kB / 0.8802 GB, free: 1.941 MB / 0.6387 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.002726/0.9599, allocations: 1.823 MB / 0.882 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.96, allocations: 9.406 kB / 0.882 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.9621, allocations: 367.8 kB / 0.8824 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.9636, allocations: 0.9655 MB / 0.8833 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.9637, allocations: 76.22 kB / 0.8834 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.9638, allocations: 105.5 kB / 0.8835 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.9655, allocations: 1.108 MB / 0.8846 GB, free: 196 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.9656, allocations: 13.67 kB / 0.8846 GB, free: 188 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/0.9657, allocations: 41.53 kB / 0.8846 GB, free: 156 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.9657, allocations: 37.19 kB / 0.8847 GB, free: 156 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.9672, allocations: 0.8132 MB / 0.8855 GB, free: 15.92 MB / 0.6544 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.006401/0.9736, allocations: 5.054 MB / 0.8904 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.9748, allocations: 0.7109 MB / 0.8911 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.9755, allocations: 355.3 kB / 0.8914 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.9761, allocations: 315.7 kB / 0.8917 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.9762, allocations: 43.53 kB / 0.8918 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.454e-06/0.9762, allocations: 0.875 kB / 0.8918 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002185/0.9784, allocations: 0.9406 MB / 0.8927 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.9785, allocations: 64.66 kB / 0.8928 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.9795, allocations: 0.8794 MB / 0.8936 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.9795, allocations: 36.27 kB / 0.8936 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.98, allocations: 0.5614 MB / 0.8942 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.9802, allocations: 252.2 kB / 0.8944 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.9805, allocations: 140.1 kB / 0.8946 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003547/0.9808, allocations: 340.9 kB / 0.8949 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.9813, allocations: 254.8 kB / 0.8951 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.9823, allocations: 455.4 kB / 0.8956 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.9837, allocations: 0.7047 MB / 0.8963 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9837, allocations: 0 / 0.8963 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001636/0.9854, allocations: 0.8273 MB / 0.8971 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9854, allocations: 9.062 kB / 0.8971 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.9854, allocations: 8.812 kB / 0.8971 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.9854, allocations: 11.64 kB / 0.8971 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.987, allocations: 262.3 kB / 0.8973 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.9886, allocations: 1.492 MB / 0.8988 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/0.9895, allocations: 84.91 kB / 0.8989 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.9896, allocations: 34.5 kB / 0.8989 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008451/0.9905, allocations: 481.3 kB / 0.8994 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005932/0.9911, allocations: 447 kB / 0.8998 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/0.9923, allocations: 0.7111 MB / 0.9005 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.9924, allocations: 3.594 kB / 0.9005 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001424/0.9938, allocations: 0.8247 MB / 0.9013 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9938, allocations: 12.81 kB / 0.9013 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9938, allocations: 6.125 kB / 0.9013 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.9938, allocations: 8.312 kB / 0.9013 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.9953, allocations: 262 kB / 0.9016 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.9967, allocations: 1.491 MB / 0.903 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.9975, allocations: 62.22 kB / 0.9031 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/0.9976, allocations: 33.81 kB / 0.9031 GB, free: 4.113 MB / 0.6544 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.0002508/0.9979, allocations: 231.5 kB / 0.9033 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.9981, allocations: 115.6 kB / 0.9035 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.9998, allocations: 0.7865 MB / 0.9042 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9998, allocations: 11.28 kB / 0.9042 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9998, allocations: 3.5 kB / 0.9042 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/1.001, allocations: 0.7121 MB / 0.9049 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/1.005, allocations: 1.925 MB / 0.9068 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.005, allocations: 5.344 kB / 0.9068 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/1.006, allocations: 146.2 kB / 0.907 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/1.006, allocations: 39.95 kB / 0.907 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/1.006, allocations: 24.55 kB / 0.907 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/1.007, allocations: 1.447 MB / 0.9084 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.007, allocations: 7.719 kB / 0.9084 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.01, allocations: 1.261 MB / 0.9097 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/1.01, allocations: 252.2 kB / 0.9099 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/1.01, allocations: 17.59 kB / 0.9099 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000687/1.011, allocations: 24.45 kB / 0.91 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/1.011, allocations: 49.94 kB / 0.91 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/1.011, allocations: 27.95 kB / 0.91 GB, free: 15.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008966/1.012, allocations: 0.5914 MB / 0.9106 GB, free: 14.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/1.012, allocations: 0 / 0.9106 GB, free: 14.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001673/1.014, allocations: 0.5351 MB / 0.9111 GB, free: 14.71 MB / 0.67 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.0005339/1.014, allocations: 224.2 kB / 0.9113 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003722/1.018, allocations: 1.217 MB / 0.9125 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.018, allocations: 3.984 kB / 0.9125 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/1.019, allocations: 444.8 kB / 0.913 GB, free: 13.42 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/1.021, allocations: 0.5077 MB / 0.9135 GB, free: 12.93 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/1.026, allocations: 2.173 MB / 0.9156 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/1.026, allocations: 1.144 MB / 0.9167 GB, free: 9.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001031/1.027, allocations: 276.8 kB / 0.917 GB, free: 9.277 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/1.028, allocations: 75.44 kB / 0.917 GB, free: 9.203 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/1.028, allocations: 0 / 0.917 GB, free: 9.203 MB / 0.67 GB Notification: Performance of Templates: time 0.03159/1.059, allocations: 17.83 MB / 0.9344 GB, free: 7.707 MB / 0.6856 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)