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.001157/0.001157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001193/0.001193, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9827/0.9827, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.27 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1762, allocations: 80.93 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5154/0.6917, allocations: 196.3 MB / 0.7755 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.7101, allocations: 10.27 MB / 0.7856 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.7129, allocations: 55.69 kB / 0.7856 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.715, allocations: 0.4932 MB / 0.7861 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.722, allocations: 1.832 MB / 0.7879 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.7262, allocations: 1.255 MB / 0.7891 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005258/0.7315, allocations: 2.822 MB / 0.7919 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.7334, allocations: 1.144 MB / 0.793 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.7387, allocations: 1.66 MB / 0.7946 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.7409, allocations: 0.9947 MB / 0.7956 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.7411, allocations: 116 kB / 0.7957 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.7459, allocations: 2.225 MB / 0.7979 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.7465, allocations: 434.6 kB / 0.7983 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.7476, allocations: 0.715 MB / 0.799 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.7525, allocations: 2.594 MB / 0.8015 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7525, allocations: 0 / 0.8015 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.274e-06/0.7526, allocations: 0 / 0.8015 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.7526, allocations: 7.875 kB / 0.8015 GB, free: 14.3 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.003297/0.7559, allocations: 1.81 MB / 0.8033 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.756, allocations: 16.02 kB / 0.8033 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.7582, allocations: 361.9 kB / 0.8037 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.76, allocations: 0.9206 MB / 0.8046 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.7601, allocations: 78 kB / 0.8046 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.7602, allocations: 104 kB / 0.8047 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.7621, allocations: 1.103 MB / 0.8058 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.7622, allocations: 11.62 kB / 0.8058 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/0.7623, allocations: 43.98 kB / 0.8059 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.7623, allocations: 34 kB / 0.8059 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.7639, allocations: 0.8041 MB / 0.8067 GB, free: 8.867 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.006584/0.7705, allocations: 5.074 MB / 0.8116 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.7719, allocations: 0.7107 MB / 0.8123 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.7725, allocations: 350.4 kB / 0.8127 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/0.7731, allocations: 311.8 kB / 0.813 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.7732, allocations: 43.12 kB / 0.813 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/0.7732, allocations: 4 kB / 0.813 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002095/0.7753, allocations: 0.9352 MB / 0.8139 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.7753, allocations: 55.97 kB / 0.814 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.7764, allocations: 0.8802 MB / 0.8148 GB, free: 60 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.7765, allocations: 37.7 kB / 0.8149 GB, free: 16 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.777, allocations: 0.5663 MB / 0.8154 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.7772, allocations: 248.3 kB / 0.8157 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.7774, allocations: 142.6 kB / 0.8158 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7776, allocations: 337.9 kB / 0.8161 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.778, allocations: 256.7 kB / 0.8164 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.7787, allocations: 451 kB / 0.8168 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.7798, allocations: 0.7015 MB / 0.8175 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7798, allocations: 8 kB / 0.8175 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001491/0.7813, allocations: 0.8279 MB / 0.8183 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7813, allocations: 4 kB / 0.8183 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7813, allocations: 8 kB / 0.8183 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.7814, allocations: 11.98 kB / 0.8183 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.783, allocations: 263.8 kB / 0.8186 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.7847, allocations: 1.492 MB / 0.82 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.7857, allocations: 119.2 kB / 0.8201 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/0.7858, allocations: 32 kB / 0.8202 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009321/0.7867, allocations: 474 kB / 0.8206 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006112/0.7874, allocations: 451 kB / 0.821 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/0.7885, allocations: 0.7054 MB / 0.8217 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.7885, allocations: 0 / 0.8217 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00149/0.79, allocations: 0.8275 MB / 0.8225 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.79, allocations: 8 kB / 0.8225 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.79, allocations: 8.609 kB / 0.8226 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.79, allocations: 8 kB / 0.8226 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.7916, allocations: 268.8 kB / 0.8228 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.793, allocations: 1.488 MB / 0.8243 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009408/0.7939, allocations: 101.8 kB / 0.8244 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.794, allocations: 32 kB / 0.8244 GB, free: 5.652 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.0003351/0.7943, allocations: 238.6 kB / 0.8246 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.7946, allocations: 110.7 kB / 0.8247 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.7967, allocations: 0.7824 MB / 0.8255 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.7967, allocations: 11.94 kB / 0.8255 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7967, allocations: 0 / 0.8255 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.7981, allocations: 0.7078 MB / 0.8262 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.802, allocations: 1.93 MB / 0.8281 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.802, allocations: 0 / 0.8281 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/0.8028, allocations: 148.5 kB / 0.8282 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/0.8032, allocations: 45.03 kB / 0.8283 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.8032, allocations: 23.98 kB / 0.8283 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.805, allocations: 1.45 MB / 0.8297 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.805, allocations: 9.203 kB / 0.8297 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.8084, allocations: 1.254 MB / 0.8309 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/0.8092, allocations: 259.4 kB / 0.8312 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.8094, allocations: 12 kB / 0.8312 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8105, allocations: 59.8 kB / 0.8313 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.8107, allocations: 52.5 kB / 0.8313 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/0.8108, allocations: 27.92 kB / 0.8313 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001284/0.8121, allocations: 0.5928 MB / 0.8319 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8121, allocations: 0 / 0.8319 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002316/0.8144, allocations: 0.5336 MB / 0.8324 GB, free: 13.07 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.0008419/0.8153, allocations: 223.8 kB / 0.8326 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006117/0.8214, allocations: 1.287 MB / 0.8339 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8214, allocations: 0 / 0.8339 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.8227, allocations: 451.8 kB / 0.8343 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/0.8266, allocations: 0.509 MB / 0.8348 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/0.8333, allocations: 2.663 MB / 0.8374 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.8346, allocations: 1.136 MB / 0.8385 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002225/0.8368, allocations: 272.8 kB / 0.8388 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.8373, allocations: 83.42 kB / 0.8389 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of SimCode: time 1.092e-06/0.8373, allocations: 3.938 kB / 0.8389 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of Templates: time 0.06082/0.8981, allocations: 17.58 MB / 0.8561 GB, free: 5.098 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)