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.001282/0.001283, allocations: 113.8 kB / 17.05 MB, free: 6.039 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.001251/0.001251, allocations: 192 kB / 17.99 MB, free: 5.121 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 115.3 MB / 407.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.69 kB / 0.5582 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1758, allocations: 76.17 MB / 0.6326 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6518/0.8277, allocations: 198.8 MB / 0.8268 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.8423, allocations: 10.36 MB / 0.8369 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.8451, allocations: 61.34 kB / 0.8369 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.847, allocations: 0.5733 MB / 0.8375 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.8537, allocations: 1.976 MB / 0.8394 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.8577, allocations: 1.381 MB / 0.8408 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00429/0.862, allocations: 2.819 MB / 0.8435 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.8639, allocations: 1.179 MB / 0.8447 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.8683, allocations: 1.66 MB / 0.8463 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.87, allocations: 0.9632 MB / 0.8472 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.8702, allocations: 124.6 kB / 0.8474 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004349/0.8746, allocations: 2.148 MB / 0.8495 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004273/0.875, allocations: 431.3 kB / 0.8499 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008229/0.8758, allocations: 0.7128 MB / 0.8506 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.8799, allocations: 2.516 MB / 0.853 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.88, allocations: 3.938 kB / 0.853 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.88, allocations: 0 / 0.853 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.88, allocations: 0 / 0.853 GB, free: 10.68 MB / 0.6075 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.002855/0.8828, allocations: 1.824 MB / 0.8548 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8829, allocations: 12.03 kB / 0.8548 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.8851, allocations: 365.6 kB / 0.8552 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.8867, allocations: 0.9726 MB / 0.8561 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.8868, allocations: 77.94 kB / 0.8562 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.887, allocations: 111.9 kB / 0.8563 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.8887, allocations: 1.109 MB / 0.8574 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.8888, allocations: 4 kB / 0.8574 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.8889, allocations: 40 kB / 0.8574 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.8889, allocations: 41.98 kB / 0.8575 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.8904, allocations: 0.8002 MB / 0.8582 GB, free: 5.426 MB / 0.6075 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.005739/0.8962, allocations: 5.072 MB / 0.8632 GB, free: 20 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.8975, allocations: 0.6962 MB / 0.8639 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.8981, allocations: 362.1 kB / 0.8642 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.8987, allocations: 315.9 kB / 0.8645 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.8987, allocations: 43.12 kB / 0.8646 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.786e-06/0.8987, allocations: 4 kB / 0.8646 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002039/0.9008, allocations: 0.9391 MB / 0.8655 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.9008, allocations: 59.97 kB / 0.8655 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.9019, allocations: 0.8802 MB / 0.8664 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.902, allocations: 41.7 kB / 0.8664 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.9024, allocations: 0.5545 MB / 0.867 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.9026, allocations: 252.3 kB / 0.8672 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.9028, allocations: 142.6 kB / 0.8674 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.903, allocations: 334 kB / 0.8677 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.9035, allocations: 252.7 kB / 0.8679 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.9041, allocations: 455 kB / 0.8684 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.9052, allocations: 0.7054 MB / 0.869 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9052, allocations: 3.938 kB / 0.869 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001425/0.9066, allocations: 0.8357 MB / 0.8699 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.9067, allocations: 4 kB / 0.8699 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.9067, allocations: 12.81 kB / 0.8699 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.9067, allocations: 11.98 kB / 0.8699 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.9083, allocations: 260 kB / 0.8701 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.9098, allocations: 1.497 MB / 0.8716 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008155/0.9106, allocations: 87.2 kB / 0.8717 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.9107, allocations: 31.98 kB / 0.8717 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008508/0.9115, allocations: 478 kB / 0.8722 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005884/0.9121, allocations: 447.6 kB / 0.8726 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/0.9133, allocations: 0.7094 MB / 0.8733 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.9133, allocations: 0 / 0.8733 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00159/0.9149, allocations: 0.8314 MB / 0.8741 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.9149, allocations: 10.03 kB / 0.8741 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.9149, allocations: 4 kB / 0.8741 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.915, allocations: 8.625 kB / 0.8741 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.9165, allocations: 263.6 kB / 0.8744 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.9181, allocations: 1.489 MB / 0.8758 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.919, allocations: 67.5 kB / 0.8759 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.9191, allocations: 31.98 kB / 0.8759 GB, free: 2.27 MB / 0.6231 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.0003451/0.9195, allocations: 235.5 kB / 0.8761 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.9197, allocations: 114.6 kB / 0.8763 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.9215, allocations: 0.7981 MB / 0.877 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9215, allocations: 8 kB / 0.877 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.9215, allocations: 0 / 0.877 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.9228, allocations: 0.7077 MB / 0.8777 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.9261, allocations: 1.942 MB / 0.8796 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.9261, allocations: 4 kB / 0.8796 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/0.9268, allocations: 139.8 kB / 0.8798 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.9271, allocations: 40.83 kB / 0.8798 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.9272, allocations: 16.12 kB / 0.8798 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.9285, allocations: 1.45 MB / 0.8812 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9285, allocations: 11.88 kB / 0.8813 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.9306, allocations: 1.226 MB / 0.8824 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.931, allocations: 255.5 kB / 0.8827 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.9312, allocations: 20 kB / 0.8827 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005366/0.9317, allocations: 19.98 kB / 0.8827 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.9318, allocations: 44.5 kB / 0.8828 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.9318, allocations: 20 kB / 0.8828 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007426/0.9326, allocations: 0.6006 MB / 0.8834 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9326, allocations: 0 / 0.8834 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001382/0.934, allocations: 0.5375 MB / 0.8839 GB, free: 9.746 MB / 0.6387 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.000509/0.9345, allocations: 214 kB / 0.8841 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00341/0.9379, allocations: 1.205 MB / 0.8853 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9379, allocations: 0 / 0.8853 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/0.9387, allocations: 458.7 kB / 0.8857 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.9409, allocations: 0.5149 MB / 0.8862 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.9445, allocations: 2.229 MB / 0.8884 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.9452, allocations: 1.14 MB / 0.8895 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.9455, allocations: 87.42 kB / 0.8896 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.9455, allocations: 0 / 0.8896 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of Templates: time 0.02907/0.9746, allocations: 21.41 MB / 0.9105 GB, free: 14.52 MB / 0.67 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)