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.001208/0.001208, allocations: 107.8 kB / 16.41 MB, free: 6.512 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.001157/0.001157, allocations: 187 kB / 17.34 MB, free: 5.742 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.06 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.179, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.672/0.8511, allocations: 198.8 MB / 0.8595 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.8677, allocations: 10.35 MB / 0.8696 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.8701, allocations: 55.69 kB / 0.8696 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.8723, allocations: 0.5741 MB / 0.8702 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/0.8802, allocations: 1.971 MB / 0.8721 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.8844, allocations: 1.384 MB / 0.8735 GB, free: 10 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004316/0.8887, allocations: 2.812 MB / 0.8762 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.891, allocations: 1.167 MB / 0.8774 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.8958, allocations: 1.691 MB / 0.879 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.898, allocations: 0.9565 MB / 0.8799 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004877/0.8985, allocations: 120 kB / 0.8801 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.9032, allocations: 2.152 MB / 0.8822 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007535/0.904, allocations: 430.7 kB / 0.8826 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.9055, allocations: 0.7074 MB / 0.8833 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.9115, allocations: 2.524 MB / 0.8857 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9115, allocations: 4 kB / 0.8857 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9115, allocations: 0 / 0.8857 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.098e-05/0.9116, allocations: 4 kB / 0.8857 GB, free: 13.4 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.004236/0.9158, allocations: 1.822 MB / 0.8875 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9159, allocations: 9.109 kB / 0.8875 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.9183, allocations: 371 kB / 0.8879 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.9205, allocations: 0.9675 MB / 0.8888 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.9206, allocations: 78 kB / 0.8889 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.9208, allocations: 103.9 kB / 0.889 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.923, allocations: 1.115 MB / 0.8901 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.923, allocations: 3.938 kB / 0.8901 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.9231, allocations: 44 kB / 0.8901 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.9232, allocations: 37.94 kB / 0.8902 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.9248, allocations: 0.8002 MB / 0.8909 GB, free: 7.902 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.006705/0.9315, allocations: 5.062 MB / 0.8959 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.9328, allocations: 0.7229 MB / 0.8966 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.9334, allocations: 350.4 kB / 0.8969 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/0.934, allocations: 311.9 kB / 0.8972 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.9341, allocations: 47.98 kB / 0.8973 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.015e-06/0.9341, allocations: 0 / 0.8973 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002055/0.9361, allocations: 0.9428 MB / 0.8982 GB, free: 48 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.9362, allocations: 59.97 kB / 0.8982 GB, free: 15.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.9375, allocations: 0.8802 MB / 0.8991 GB, free: 15.08 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.119e-05/0.9376, allocations: 37.7 kB / 0.8991 GB, free: 15.04 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.938, allocations: 0.5546 MB / 0.8997 GB, free: 14.47 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.9383, allocations: 256.3 kB / 0.8999 GB, free: 14.22 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.9385, allocations: 138.6 kB / 0.9001 GB, free: 14.08 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9387, allocations: 341.9 kB / 0.9004 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.9391, allocations: 256.7 kB / 0.9006 GB, free: 13.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.9398, allocations: 447 kB / 0.9011 GB, free: 12.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.9409, allocations: 0.7015 MB / 0.9017 GB, free: 12.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.9409, allocations: 4 kB / 0.9017 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001645/0.9426, allocations: 0.8354 MB / 0.9026 GB, free: 11.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.9426, allocations: 8 kB / 0.9026 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9426, allocations: 4 kB / 0.9026 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.9427, allocations: 8.062 kB / 0.9026 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.9443, allocations: 268.2 kB / 0.9028 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.9458, allocations: 1.492 MB / 0.9043 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009774/0.9468, allocations: 83.11 kB / 0.9044 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.9469, allocations: 32 kB / 0.9044 GB, free: 9.332 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009342/0.9479, allocations: 474 kB / 0.9049 GB, free: 8.863 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006113/0.9485, allocations: 447.1 kB / 0.9053 GB, free: 8.355 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/0.9496, allocations: 0.7054 MB / 0.906 GB, free: 7.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/0.9496, allocations: 4 kB / 0.906 GB, free: 7.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001543/0.9512, allocations: 0.8297 MB / 0.9068 GB, free: 6.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.9512, allocations: 4 kB / 0.9068 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9512, allocations: 12 kB / 0.9068 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.9513, allocations: 11.94 kB / 0.9068 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.9528, allocations: 259.6 kB / 0.9071 GB, free: 6.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.9542, allocations: 1.496 MB / 0.9085 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009571/0.9552, allocations: 65.3 kB / 0.9086 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.9553, allocations: 32 kB / 0.9086 GB, free: 4.734 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.0003008/0.9556, allocations: 236 kB / 0.9088 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.9559, allocations: 118.5 kB / 0.909 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.9578, allocations: 0.7864 MB / 0.9097 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.9578, allocations: 8 kB / 0.9097 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9578, allocations: 0 / 0.9097 GB, free: 3.566 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.9592, allocations: 0.7117 MB / 0.9104 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.9628, allocations: 1.934 MB / 0.9123 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.9628, allocations: 0 / 0.9123 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.9636, allocations: 139.9 kB / 0.9124 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003457/0.9639, allocations: 45 kB / 0.9125 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.964, allocations: 23.98 kB / 0.9125 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.9654, allocations: 1.45 MB / 0.9139 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.9654, allocations: 0 / 0.9139 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.9677, allocations: 1.258 MB / 0.9152 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.9682, allocations: 247.6 kB / 0.9154 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.9684, allocations: 27.97 kB / 0.9154 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.9691, allocations: 19.98 kB / 0.9154 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.9692, allocations: 56.39 kB / 0.9155 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.9693, allocations: 27.98 kB / 0.9155 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009953/0.9703, allocations: 0.5928 MB / 0.9161 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9703, allocations: 0 / 0.9161 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001824/0.9721, allocations: 0.5335 MB / 0.9166 GB, free: 12.18 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.0006438/0.9728, allocations: 226.5 kB / 0.9168 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003722/0.9765, allocations: 1.201 MB / 0.918 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.9766, allocations: 192 / 0.918 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008344/0.9774, allocations: 458.1 kB / 0.9184 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.98, allocations: 0.5095 MB / 0.9189 GB, free: 9.797 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.9844, allocations: 2.22 MB / 0.9211 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/0.9853, allocations: 1.136 MB / 0.9222 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.9856, allocations: 95.42 kB / 0.9223 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.9856, allocations: 0 / 0.9223 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of Templates: time 0.03178/1.017, allocations: 21.54 MB / 0.9433 GB, free: 0.8203 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)