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.001306/0.001306, allocations: 106.9 kB / 15.99 MB, free: 6.352 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.001784/0.001784, allocations: 191 kB / 16.91 MB, free: 6.195 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.501/1.501, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8325/0.8325, allocations: 126.7 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 0.4952 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4232, allocations: 78.87 MB / 0.5723 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6822/1.106, allocations: 196.3 MB / 0.764 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01458/1.12, allocations: 10.29 MB / 0.774 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/1.122, allocations: 54.06 kB / 0.7741 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/1.124, allocations: 0.4892 MB / 0.7745 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005437/1.13, allocations: 1.829 MB / 0.7763 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003726/1.133, allocations: 1.257 MB / 0.7775 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004391/1.138, allocations: 2.801 MB / 0.7803 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/1.139, allocations: 1.148 MB / 0.7814 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/1.145, allocations: 1.869 MB / 0.7832 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/1.147, allocations: 0.9872 MB / 0.7842 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/1.147, allocations: 124.2 kB / 0.7843 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/1.151, allocations: 2.207 MB / 0.7865 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/1.151, allocations: 433.8 kB / 0.7869 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008105/1.152, allocations: 0.7151 MB / 0.7876 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/1.156, allocations: 2.586 MB / 0.7901 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.156, allocations: 0 / 0.7901 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/1.156, allocations: 3.375 kB / 0.7901 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.545e-05/1.156, allocations: 1.062 kB / 0.7901 GB, free: 0.9727 MB / 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.002727/1.159, allocations: 1.81 MB / 0.7919 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.159, allocations: 6.844 kB / 0.7919 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/1.161, allocations: 373.2 kB / 0.7922 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/1.162, allocations: 0.9243 MB / 0.7931 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/1.162, allocations: 83.88 kB / 0.7932 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.162, allocations: 103.8 kB / 0.7933 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/1.164, allocations: 1.102 MB / 0.7944 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/1.164, allocations: 5.859 kB / 0.7944 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/1.164, allocations: 46.84 kB / 0.7944 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/1.164, allocations: 36.59 kB / 0.7945 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/1.166, allocations: 0.808 MB / 0.7953 GB, free: 15.35 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.006835/1.173, allocations: 5.064 MB / 0.8002 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/1.175, allocations: 0.7069 MB / 0.8009 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/1.175, allocations: 354.9 kB / 0.8012 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/1.176, allocations: 316.1 kB / 0.8015 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.176, allocations: 41.19 kB / 0.8016 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 4.569e-06/1.176, allocations: 0.875 kB / 0.8016 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002008/1.178, allocations: 0.9524 MB / 0.8025 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/1.178, allocations: 59.28 kB / 0.8026 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/1.179, allocations: 0.8759 MB / 0.8034 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/1.179, allocations: 40.33 kB / 0.8035 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000476/1.18, allocations: 0.5609 MB / 0.804 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/1.18, allocations: 245.6 kB / 0.8042 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/1.18, allocations: 138.4 kB / 0.8044 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.18, allocations: 336.8 kB / 0.8047 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/1.181, allocations: 257.2 kB / 0.8049 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/1.181, allocations: 449.5 kB / 0.8054 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.183, allocations: 0.7063 MB / 0.8061 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.183, allocations: 0.9062 kB / 0.8061 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001457/1.184, allocations: 0.837 MB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.184, allocations: 8.594 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.184, allocations: 6.859 kB / 0.8069 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.184, allocations: 12.41 kB / 0.8069 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/1.186, allocations: 265.6 kB / 0.8072 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/1.187, allocations: 1.493 MB / 0.8086 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.188, allocations: 122.6 kB / 0.8087 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/1.188, allocations: 31.41 kB / 0.8088 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008104/1.189, allocations: 478 kB / 0.8092 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006274/1.19, allocations: 449.5 kB / 0.8097 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009948/1.191, allocations: 0.7037 MB / 0.8103 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/1.191, allocations: 4.844 kB / 0.8103 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.0014/1.192, allocations: 0.8368 MB / 0.8112 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.192, allocations: 9.375 kB / 0.8112 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.192, allocations: 7.562 kB / 0.8112 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/1.192, allocations: 6.812 kB / 0.8112 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.194, allocations: 271.2 kB / 0.8114 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/1.196, allocations: 1.499 MB / 0.8129 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009714/1.197, allocations: 106.1 kB / 0.813 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/1.197, allocations: 32.14 kB / 0.813 GB, free: 6.992 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.0002986/1.197, allocations: 226.3 kB / 0.8133 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.197, allocations: 106.1 kB / 0.8134 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/1.199, allocations: 0.8034 MB / 0.8141 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/1.199, allocations: 6.406 kB / 0.8141 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/1.199, allocations: 1.375 kB / 0.8141 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/1.2, allocations: 0.7052 MB / 0.8148 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003826/1.204, allocations: 1.937 MB / 0.8167 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.204, allocations: 3.375 kB / 0.8167 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/1.205, allocations: 138 kB / 0.8169 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003546/1.205, allocations: 44.98 kB / 0.8169 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/1.205, allocations: 21.44 kB / 0.8169 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/1.207, allocations: 1.451 MB / 0.8183 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.207, allocations: 3.375 kB / 0.8183 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.209, allocations: 1.231 MB / 0.8195 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/1.21, allocations: 252.3 kB / 0.8198 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/1.21, allocations: 18.62 kB / 0.8198 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.211, allocations: 59.95 kB / 0.8199 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.211, allocations: 45.56 kB / 0.8199 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/1.211, allocations: 29.45 kB / 0.8199 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000872/1.212, allocations: 0.5938 MB / 0.8205 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.212, allocations: 0 / 0.8205 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001796/1.214, allocations: 0.5291 MB / 0.821 GB, free: 4.02 MB / 0.5919 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 (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.0005977/1.214, allocations: 222.7 kB / 0.8212 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003969/1.218, allocations: 1.294 MB / 0.8225 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.218, allocations: 2.156 kB / 0.8225 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008157/1.219, allocations: 454 kB / 0.8229 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/1.221, allocations: 0.5189 MB / 0.8234 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/1.226, allocations: 2.667 MB / 0.8261 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.228, allocations: 1.138 MB / 0.8272 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001408/1.229, allocations: 280.3 kB / 0.8274 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/1.229, allocations: 79.34 kB / 0.8275 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/1.229, allocations: 0 / 0.8275 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of Templates: time 0.03716/1.266, allocations: 17.57 MB / 0.8447 GB, free: 1.516 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)