Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001025/0.001025, allocations: 97.2 kB / 15.69 MB, free: 480 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.00109/0.00109, allocations: 173.6 kB / 16.57 MB, free: 6.398 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.293/1.293, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6601/0.6601, allocations: 113.8 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 13.62 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 77.16 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.425/0.5526, allocations: 164.8 MB / 0.7178 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.5661, allocations: 9.333 MB / 0.7269 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.5676, allocations: 47.69 kB / 0.727 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.5693, allocations: 0.5247 MB / 0.7275 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.5745, allocations: 1.715 MB / 0.7292 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.5782, allocations: 1.364 MB / 0.7305 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.5814, allocations: 1.674 MB / 0.7321 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.583, allocations: 0.8826 MB / 0.733 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.5856, allocations: 1.187 MB / 0.7342 GB, free: 4.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.5868, allocations: 0.6495 MB / 0.7348 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.587, allocations: 48 kB / 0.7348 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.5895, allocations: 1.045 MB / 0.7359 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004301/0.59, allocations: 314.9 kB / 0.7362 GB, free: 2.238 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.5904, allocations: 281 kB / 0.7364 GB, free: 1.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.5924, allocations: 1.522 MB / 0.7379 GB, free: 444 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5925, allocations: 7.938 kB / 0.7379 GB, free: 436 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5925, allocations: 3.938 kB / 0.7379 GB, free: 432 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.835e-05/0.5925, allocations: 0 / 0.7379 GB, free: 432 kB / 0.545 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.002817/0.5954, allocations: 1.534 MB / 0.7394 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.5954, allocations: 8.031 kB / 0.7394 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.5976, allocations: 377.8 kB / 0.7398 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.5993, allocations: 0.8825 MB / 0.7406 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.666e-05/0.5994, allocations: 74 kB / 0.7407 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.5996, allocations: 107.9 kB / 0.7408 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.6013, allocations: 1.08 MB / 0.7419 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.6014, allocations: 7.938 kB / 0.7419 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.6014, allocations: 40 kB / 0.7419 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.6015, allocations: 45.94 kB / 0.742 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.6029, allocations: 0.7986 MB / 0.7427 GB, free: 11.33 MB / 0.5606 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.005666/0.6086, allocations: 5.074 MB / 0.7477 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.6098, allocations: 0.7061 MB / 0.7484 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/0.6102, allocations: 149.6 kB / 0.7485 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6102, allocations: 39.12 kB / 0.7486 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/0.6102, allocations: 0 / 0.7486 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.001827/0.6121, allocations: 0.9468 MB / 0.7495 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.6121, allocations: 59.97 kB / 0.7496 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.6131, allocations: 0.8685 MB / 0.7504 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.6132, allocations: 41.7 kB / 0.7504 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.6135, allocations: 0.5663 MB / 0.751 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.6137, allocations: 240.4 kB / 0.7512 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.6138, allocations: 16 kB / 0.7512 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6139, allocations: 341.9 kB / 0.7516 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.6143, allocations: 253.9 kB / 0.7518 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.6149, allocations: 435 kB / 0.7522 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.6154, allocations: 311.1 kB / 0.7525 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6155, allocations: 0 / 0.7525 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001347/0.6168, allocations: 0.8277 MB / 0.7533 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006026/0.6174, allocations: 1.837 MB / 0.7551 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6174, allocations: 4 kB / 0.7551 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.6175, allocations: 11.94 kB / 0.7551 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.619, allocations: 251.7 kB / 0.7554 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.6203, allocations: 1.393 MB / 0.7567 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.6212, allocations: 131.1 kB / 0.7569 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.6213, allocations: 32 kB / 0.7569 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.6213, allocations: 5.719 kB / 0.7569 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.6225, allocations: 0.7066 MB / 0.7576 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6225, allocations: 8.688 kB / 0.7576 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/0.6225, allocations: 8 kB / 0.7576 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.624, allocations: 259.7 kB / 0.7578 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.6253, allocations: 1.393 MB / 0.7592 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000959/0.6263, allocations: 122.2 kB / 0.7593 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/0.6264, allocations: 28.78 kB / 0.7594 GB, free: 9.391 MB / 0.5762 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005533/0.6269, allocations: 372.8 kB / 0.7597 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.6271, allocations: 110.6 kB / 0.7598 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.6288, allocations: 0.7902 MB / 0.7606 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.6289, allocations: 8 kB / 0.7606 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6289, allocations: 0 / 0.7606 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.6302, allocations: 0.7078 MB / 0.7613 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.6338, allocations: 1.93 MB / 0.7632 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6338, allocations: 0 / 0.7632 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.6345, allocations: 152 kB / 0.7633 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.635, allocations: 36.83 kB / 0.7634 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.635, allocations: 23.98 kB / 0.7634 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.6363, allocations: 1.365 MB / 0.7647 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6363, allocations: 4.031 kB / 0.7647 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.6384, allocations: 1.302 MB / 0.766 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.6389, allocations: 255.5 kB / 0.7662 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.6391, allocations: 24.06 kB / 0.7662 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/0.6398, allocations: 59.88 kB / 0.7663 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.6399, allocations: 52.33 kB / 0.7664 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.6399, allocations: 28 kB / 0.7664 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007954/0.6407, allocations: 0.5889 MB / 0.767 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6408, allocations: 0 / 0.767 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00141/0.6422, allocations: 0.5258 MB / 0.7675 GB, free: 0.6992 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005007/0.6427, allocations: 221.9 kB / 0.7677 GB, free: 492 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003417/0.6461, allocations: 1.178 MB / 0.7688 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6461, allocations: 0 / 0.7688 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.6469, allocations: 446.4 kB / 0.7693 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.6492, allocations: 491.6 kB / 0.7697 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.653, allocations: 2.694 MB / 0.7724 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.6537, allocations: 1.163 MB / 0.7735 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6547, allocations: 277 kB / 0.7738 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6549, allocations: 83.42 kB / 0.7738 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.6549, allocations: 0 / 0.7738 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.02815/0.6831, allocations: 16.36 MB / 0.7898 GB, free: 9.961 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)