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.001474/0.001474, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001489/0.001489, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8367/0.8367, allocations: 135.1 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 55.91 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4235, allocations: 80.92 MB / 0.585 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5837/1.007, allocations: 198.8 MB / 0.7792 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01524/1.023, allocations: 10.35 MB / 0.7893 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/1.025, allocations: 57.12 kB / 0.7893 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/1.027, allocations: 0.5725 MB / 0.7899 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005773/1.033, allocations: 1.97 MB / 0.7918 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003799/1.037, allocations: 1.381 MB / 0.7932 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00411/1.041, allocations: 2.807 MB / 0.7959 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/1.043, allocations: 1.171 MB / 0.7971 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004707/1.047, allocations: 1.664 MB / 0.7987 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/1.049, allocations: 0.9556 MB / 0.7996 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002238/1.049, allocations: 121.1 kB / 0.7997 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/1.054, allocations: 2.148 MB / 0.8018 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/1.055, allocations: 428.5 kB / 0.8022 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008579/1.055, allocations: 0.708 MB / 0.8029 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/1.06, allocations: 2.474 MB / 0.8053 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.06, allocations: 3 kB / 0.8053 GB, free: 456 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/1.06, allocations: 0.7188 kB / 0.8053 GB, free: 456 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.852e-05/1.06, allocations: 0 / 0.8053 GB, free: 456 kB / 0.5762 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.003021/1.063, allocations: 1.823 MB / 0.8071 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.063, allocations: 11.3 kB / 0.8071 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.065, allocations: 366.7 kB / 0.8075 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/1.067, allocations: 0.9224 MB / 0.8084 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/1.067, allocations: 79.25 kB / 0.8085 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.067, allocations: 101.9 kB / 0.8086 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.069, allocations: 1.105 MB / 0.8096 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.069, allocations: 3.188 kB / 0.8096 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.069, allocations: 41.69 kB / 0.8097 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/1.069, allocations: 37.69 kB / 0.8097 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/1.07, allocations: 0.8052 MB / 0.8105 GB, free: 14.83 MB / 0.5919 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.005861/1.076, allocations: 5.094 MB / 0.8155 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.078, allocations: 0.7127 MB / 0.8162 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/1.078, allocations: 352.8 kB / 0.8165 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/1.079, allocations: 318.7 kB / 0.8168 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.079, allocations: 41.94 kB / 0.8169 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.337e-06/1.079, allocations: 0 / 0.8169 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001884/1.081, allocations: 0.9412 MB / 0.8178 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/1.081, allocations: 61.03 kB / 0.8178 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009777/1.082, allocations: 0.8748 MB / 0.8187 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/1.082, allocations: 43.92 kB / 0.8187 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/1.082, allocations: 0.5615 MB / 0.8193 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/1.082, allocations: 247.5 kB / 0.8195 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/1.083, allocations: 141.5 kB / 0.8196 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.083, allocations: 340.8 kB / 0.82 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/1.083, allocations: 255 kB / 0.8202 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/1.084, allocations: 447.8 kB / 0.8206 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/1.085, allocations: 0.7092 MB / 0.8213 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.085, allocations: 0 / 0.8213 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001328/1.086, allocations: 0.8349 MB / 0.8221 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.086, allocations: 9.25 kB / 0.8222 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.086, allocations: 9.328 kB / 0.8222 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/1.086, allocations: 7.594 kB / 0.8222 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.088, allocations: 268.7 kB / 0.8224 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/1.089, allocations: 1.493 MB / 0.8239 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/1.09, allocations: 80.34 kB / 0.824 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/1.09, allocations: 34.72 kB / 0.824 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008963/1.091, allocations: 475.2 kB / 0.8244 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006475/1.092, allocations: 448.6 kB / 0.8249 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001093/1.093, allocations: 0.7059 MB / 0.8256 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/1.093, allocations: 5.156 kB / 0.8256 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001376/1.094, allocations: 0.8291 MB / 0.8264 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/1.094, allocations: 10.25 kB / 0.8264 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.094, allocations: 12.84 kB / 0.8264 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/1.094, allocations: 8.562 kB / 0.8264 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.096, allocations: 260.9 kB / 0.8267 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/1.097, allocations: 1.491 MB / 0.8281 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/1.098, allocations: 63.45 kB / 0.8282 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/1.098, allocations: 37.98 kB / 0.8282 GB, free: 5.609 MB / 0.5919 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.0002957/1.098, allocations: 239.2 kB / 0.8284 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/1.098, allocations: 106.7 kB / 0.8285 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/1.1, allocations: 0.7872 MB / 0.8293 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.1, allocations: 5.906 kB / 0.8293 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.1, allocations: 3.938 kB / 0.8293 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/1.101, allocations: 0.7117 MB / 0.83 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/1.105, allocations: 1.927 MB / 0.8319 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.105, allocations: 2.938 kB / 0.8319 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/1.106, allocations: 157.2 kB / 0.8321 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003356/1.106, allocations: 34.95 kB / 0.8321 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/1.106, allocations: 20.34 kB / 0.8321 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/1.107, allocations: 1.452 MB / 0.8335 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.107, allocations: 11.14 kB / 0.8335 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/1.11, allocations: 1.257 MB / 0.8348 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/1.11, allocations: 252.5 kB / 0.835 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.11, allocations: 14.44 kB / 0.835 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/1.111, allocations: 22.56 kB / 0.835 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/1.111, allocations: 52.75 kB / 0.8351 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/1.111, allocations: 22.22 kB / 0.8351 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007614/1.112, allocations: 0.5908 MB / 0.8357 GB, free: 452 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.112, allocations: 7.938 kB / 0.8357 GB, free: 444 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001415/1.113, allocations: 0.5414 MB / 0.8362 GB, free: 312 kB / 0.5919 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.0004915/1.114, allocations: 212.5 kB / 0.8364 GB, free: 180 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003918/1.117, allocations: 1.285 MB / 0.8377 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.117, allocations: 0 / 0.8377 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/1.118, allocations: 450.3 kB / 0.8381 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.121, allocations: 0.5154 MB / 0.8386 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/1.125, allocations: 2.25 MB / 0.8408 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/1.125, allocations: 1.143 MB / 0.8419 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.126, allocations: 94.52 kB / 0.842 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/1.126, allocations: 0 / 0.842 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Templates: time 0.03106/1.157, allocations: 21.44 MB / 0.863 GB, free: 5.379 MB / 0.6231 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)