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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 72.53 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.197, allocations: 80.92 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5705/0.7675, allocations: 198.8 MB / 0.7785 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.7846, allocations: 10.35 MB / 0.7886 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.7873, allocations: 59.62 kB / 0.7887 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.7893, allocations: 0.5663 MB / 0.7893 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.7963, allocations: 1.975 MB / 0.7912 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.8007, allocations: 1.372 MB / 0.7925 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004801/0.8055, allocations: 2.815 MB / 0.7953 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.8074, allocations: 1.172 MB / 0.7964 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.812, allocations: 1.654 MB / 0.798 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.8138, allocations: 0.9539 MB / 0.799 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.814, allocations: 120 kB / 0.7991 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005268/0.8193, allocations: 2.152 MB / 0.8012 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006089/0.82, allocations: 430.7 kB / 0.8016 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.821, allocations: 0.7073 MB / 0.8023 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.8263, allocations: 2.485 MB / 0.8047 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8263, allocations: 0 / 0.8047 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8263, allocations: 0 / 0.8047 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.8263, allocations: 0 / 0.8047 GB, free: 11.16 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.002951/0.8293, allocations: 1.818 MB / 0.8065 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.8293, allocations: 8.031 kB / 0.8065 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.8315, allocations: 365.9 kB / 0.8068 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.8332, allocations: 0.9322 MB / 0.8077 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.8333, allocations: 74 kB / 0.8078 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.8334, allocations: 100 kB / 0.8079 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.8352, allocations: 1.107 MB / 0.809 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.8352, allocations: 4 kB / 0.809 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/0.8353, allocations: 40 kB / 0.809 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.8354, allocations: 38 kB / 0.8091 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.8368, allocations: 0.8118 MB / 0.8099 GB, free: 5.711 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.00607/0.8429, allocations: 5.094 MB / 0.8148 GB, free: 268 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.8442, allocations: 0.707 MB / 0.8155 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.8448, allocations: 350.4 kB / 0.8159 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006288/0.8454, allocations: 323.8 kB / 0.8162 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.8455, allocations: 43.12 kB / 0.8162 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/0.8455, allocations: 0 / 0.8162 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002022/0.8475, allocations: 0.935 MB / 0.8171 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.8476, allocations: 55.97 kB / 0.8172 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.8487, allocations: 0.8802 MB / 0.818 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.905e-05/0.8488, allocations: 37.7 kB / 0.8181 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.8492, allocations: 0.5623 MB / 0.8186 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.8495, allocations: 260.3 kB / 0.8189 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.8497, allocations: 138.6 kB / 0.819 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.8499, allocations: 337.9 kB / 0.8193 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.8504, allocations: 256.7 kB / 0.8196 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.851, allocations: 443.1 kB / 0.82 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.8522, allocations: 0.7093 MB / 0.8207 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8522, allocations: 0 / 0.8207 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001513/0.8537, allocations: 0.8397 MB / 0.8215 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.8538, allocations: 8.094 kB / 0.8215 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.8538, allocations: 8 kB / 0.8215 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.8538, allocations: 8 kB / 0.8215 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.8554, allocations: 259.6 kB / 0.8218 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.8569, allocations: 1.485 MB / 0.8232 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.8577, allocations: 87.28 kB / 0.8233 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.8578, allocations: 32 kB / 0.8233 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008736/0.8587, allocations: 477.9 kB / 0.8238 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006686/0.8594, allocations: 452.5 kB / 0.8242 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00119/0.8606, allocations: 0.7054 MB / 0.8249 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.8606, allocations: 0 / 0.8249 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001554/0.8621, allocations: 0.8275 MB / 0.8257 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8622, allocations: 14.33 kB / 0.8257 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.8622, allocations: 4 kB / 0.8257 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.8622, allocations: 8.625 kB / 0.8258 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.8637, allocations: 271.5 kB / 0.826 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.8652, allocations: 1.488 MB / 0.8275 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.866, allocations: 63.44 kB / 0.8275 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.8661, allocations: 36 kB / 0.8276 GB, free: 2.539 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.0002636/0.8664, allocations: 233.4 kB / 0.8278 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.8666, allocations: 110.6 kB / 0.8279 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.8683, allocations: 0.7936 MB / 0.8287 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.8683, allocations: 8 kB / 0.8287 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.8683, allocations: 0 / 0.8287 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/0.8697, allocations: 0.7195 MB / 0.8294 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003546/0.8732, allocations: 1.914 MB / 0.8312 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.8733, allocations: 4 kB / 0.8312 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/0.874, allocations: 149.2 kB / 0.8314 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.8744, allocations: 41.05 kB / 0.8314 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.8745, allocations: 16 kB / 0.8314 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.876, allocations: 1.455 MB / 0.8329 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.876, allocations: 8.016 kB / 0.8329 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.8784, allocations: 1.25 MB / 0.8341 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004781/0.8789, allocations: 255.5 kB / 0.8343 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.8791, allocations: 16 kB / 0.8343 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.8799, allocations: 27.17 kB / 0.8344 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.88, allocations: 52.47 kB / 0.8344 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.8801, allocations: 27.92 kB / 0.8345 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009759/0.8811, allocations: 0.5928 MB / 0.835 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8811, allocations: 0 / 0.835 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001644/0.8827, allocations: 0.5413 MB / 0.8356 GB, free: 10 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.0005474/0.8833, allocations: 224.7 kB / 0.8358 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004234/0.8875, allocations: 1.279 MB / 0.837 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.8875, allocations: 0 / 0.837 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/0.8885, allocations: 455.9 kB / 0.8375 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.8911, allocations: 0.5136 MB / 0.838 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.8963, allocations: 2.21 MB / 0.8401 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.8976, allocations: 1.132 MB / 0.8412 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001513/0.8992, allocations: 280.8 kB / 0.8415 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.8996, allocations: 83.42 kB / 0.8416 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.8996, allocations: 0 / 0.8416 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of Templates: time 0.05814/0.9577, allocations: 17.66 MB / 0.8588 GB, free: 2.371 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)