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.007405/0.007405, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001213/0.001213, allocations: 195 kB / 16.67 MB, free: 5.977 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8235/0.8235, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.5 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1784, allocations: 80.91 MB / 0.6646 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6113/0.7897, allocations: 198.9 MB / 0.8588 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.8054, allocations: 10.35 MB / 0.8689 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.8075, allocations: 59.69 kB / 0.869 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.8095, allocations: 0.5662 MB / 0.8695 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005774/0.8154, allocations: 1.975 MB / 0.8715 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.8197, allocations: 1.381 MB / 0.8728 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004497/0.8242, allocations: 2.816 MB / 0.8756 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002572/0.8268, allocations: 1.164 MB / 0.8767 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.8317, allocations: 1.674 MB / 0.8783 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.8341, allocations: 0.9551 MB / 0.8793 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006271/0.8347, allocations: 120 kB / 0.8794 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005038/0.8397, allocations: 2.144 MB / 0.8815 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006452/0.8404, allocations: 434.6 kB / 0.8819 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.8417, allocations: 0.7151 MB / 0.8826 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005675/0.8474, allocations: 2.538 MB / 0.8851 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8474, allocations: 3.938 kB / 0.8851 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8474, allocations: 0 / 0.8851 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.567e-05/0.8475, allocations: 0 / 0.8851 GB, free: 13.44 MB / 0.6544 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.004272/0.8518, allocations: 1.862 MB / 0.8869 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8518, allocations: 17.11 kB / 0.8869 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.8543, allocations: 370.7 kB / 0.8873 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.8564, allocations: 0.9879 MB / 0.8882 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.8565, allocations: 78 kB / 0.8883 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.8567, allocations: 100 kB / 0.8884 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.8588, allocations: 1.103 MB / 0.8895 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.8589, allocations: 7.875 kB / 0.8895 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.859, allocations: 44 kB / 0.8895 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.859, allocations: 38.88 kB / 0.8896 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.8607, allocations: 0.8002 MB / 0.8903 GB, free: 7.879 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.006991/0.8677, allocations: 5.083 MB / 0.8953 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.8691, allocations: 0.715 MB / 0.896 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.8696, allocations: 350.3 kB / 0.8963 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.8703, allocations: 319.9 kB / 0.8966 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.8703, allocations: 43.12 kB / 0.8967 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.945e-06/0.8703, allocations: 0 / 0.8967 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002036/0.8724, allocations: 0.9513 MB / 0.8976 GB, free: 0 / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.8725, allocations: 59.97 kB / 0.8977 GB, free: 15.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.8736, allocations: 0.8725 MB / 0.8985 GB, free: 15.04 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/0.8737, allocations: 41.69 kB / 0.8986 GB, free: 14.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.8741, allocations: 0.5671 MB / 0.8991 GB, free: 14.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.8744, allocations: 261.8 kB / 0.8994 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.8746, allocations: 138.6 kB / 0.8995 GB, free: 14.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8748, allocations: 345.8 kB / 0.8998 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.8753, allocations: 256.7 kB / 0.9001 GB, free: 13.42 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.876, allocations: 448.3 kB / 0.9005 GB, free: 12.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.8772, allocations: 0.7054 MB / 0.9012 GB, free: 12.14 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.8772, allocations: 4 kB / 0.9012 GB, free: 12.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00149/0.8787, allocations: 0.8359 MB / 0.902 GB, free: 11.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.8788, allocations: 8.625 kB / 0.902 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8788, allocations: 4 kB / 0.902 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.8788, allocations: 12 kB / 0.902 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.8804, allocations: 259.6 kB / 0.9023 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.8818, allocations: 1.493 MB / 0.9037 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.8826, allocations: 87.38 kB / 0.9038 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.8827, allocations: 32 kB / 0.9038 GB, free: 9.266 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008394/0.8836, allocations: 475.1 kB / 0.9043 GB, free: 8.797 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006256/0.8842, allocations: 451.1 kB / 0.9047 GB, free: 8.285 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001112/0.8853, allocations: 0.7054 MB / 0.9054 GB, free: 7.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.8854, allocations: 4 kB / 0.9054 GB, free: 7.516 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001552/0.8869, allocations: 0.8362 MB / 0.9062 GB, free: 6.672 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8869, allocations: 4 kB / 0.9062 GB, free: 6.668 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.887, allocations: 8.562 kB / 0.9062 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.887, allocations: 11.94 kB / 0.9063 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.8885, allocations: 260 kB / 0.9065 GB, free: 6.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.8899, allocations: 1.488 MB / 0.908 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/0.8907, allocations: 77.69 kB / 0.908 GB, free: 4.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.8908, allocations: 32 kB / 0.9081 GB, free: 4.656 MB / 0.67 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.000245/0.8911, allocations: 228 kB / 0.9083 GB, free: 4.426 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.8914, allocations: 119.2 kB / 0.9084 GB, free: 4.309 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.8932, allocations: 0.7952 MB / 0.9092 GB, free: 3.496 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8932, allocations: 7.938 kB / 0.9092 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.8932, allocations: 0 / 0.9092 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/0.8946, allocations: 0.7156 MB / 0.9099 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.8984, allocations: 1.926 MB / 0.9118 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8984, allocations: 0 / 0.9118 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.8991, allocations: 148 kB / 0.9119 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.8995, allocations: 44.77 kB / 0.9119 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.8995, allocations: 23.98 kB / 0.912 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.9009, allocations: 1.462 MB / 0.9134 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9009, allocations: 3.938 kB / 0.9134 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.9032, allocations: 1.258 MB / 0.9146 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.9037, allocations: 264.1 kB / 0.9149 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.9039, allocations: 16 kB / 0.9149 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.9045, allocations: 23.98 kB / 0.9149 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.9046, allocations: 52.44 kB / 0.915 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/0.9047, allocations: 23.98 kB / 0.915 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008697/0.9056, allocations: 0.5889 MB / 0.9156 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9056, allocations: 0 / 0.9156 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001509/0.9071, allocations: 0.5418 MB / 0.9161 GB, free: 12.08 MB / 0.6856 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.0005882/0.9077, allocations: 207.7 kB / 0.9163 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003706/0.9114, allocations: 1.209 MB / 0.9175 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9114, allocations: 0 / 0.9175 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.9122, allocations: 453.5 kB / 0.9179 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.9148, allocations: 0.5217 MB / 0.9184 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.9194, allocations: 2.209 MB / 0.9206 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/0.9203, allocations: 1.14 MB / 0.9217 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001192/0.9215, allocations: 272.8 kB / 0.9219 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.9218, allocations: 83.44 kB / 0.922 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of SimCode: time 8.61e-07/0.9218, allocations: 0 / 0.922 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of Templates: time 0.03239/0.9542, allocations: 17.81 MB / 0.9394 GB, free: 4.324 MB / 0.7012 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)