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.001043/0.001043, allocations: 107.7 kB / 16.27 MB, free: 5.934 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.000994/0.0009941, allocations: 192.5 kB / 17.2 MB, free: 5.57 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7705/0.7705, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 59.91 kB / 0.4911 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3914, allocations: 77.93 MB / 0.5672 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6574/1.049, allocations: 198.8 MB / 0.7613 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01661/1.066, allocations: 10.37 MB / 0.7715 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/1.068, allocations: 56.47 kB / 0.7715 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/1.07, allocations: 0.576 MB / 0.7721 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006399/1.077, allocations: 1.968 MB / 0.774 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004945/1.082, allocations: 1.385 MB / 0.7754 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005426/1.087, allocations: 2.812 MB / 0.7781 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/1.089, allocations: 1.167 MB / 0.7792 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/1.095, allocations: 1.663 MB / 0.7809 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/1.097, allocations: 0.9639 MB / 0.7818 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/1.097, allocations: 119.7 kB / 0.7819 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004759/1.102, allocations: 2.152 MB / 0.784 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004981/1.102, allocations: 426.6 kB / 0.7844 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/1.104, allocations: 0.7123 MB / 0.7851 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005064/1.109, allocations: 2.477 MB / 0.7875 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/1.109, allocations: 0 / 0.7875 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.414e-06/1.109, allocations: 0 / 0.7875 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.414e-05/1.109, allocations: 0.875 kB / 0.7875 GB, free: 1.02 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.003128/1.112, allocations: 1.821 MB / 0.7893 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.112, allocations: 10.19 kB / 0.7893 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/1.114, allocations: 368.3 kB / 0.7897 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.115, allocations: 0.9187 MB / 0.7906 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.115, allocations: 80.75 kB / 0.7907 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/1.116, allocations: 103.4 kB / 0.7908 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/1.117, allocations: 1.103 MB / 0.7918 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.117, allocations: 2.938 kB / 0.7918 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/1.117, allocations: 43.34 kB / 0.7919 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/1.117, allocations: 40.48 kB / 0.7919 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.119, allocations: 0.8085 MB / 0.7927 GB, free: 15.4 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.005737/1.124, allocations: 5.101 MB / 0.7977 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.126, allocations: 0.7124 MB / 0.7984 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/1.126, allocations: 357.2 kB / 0.7987 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/1.127, allocations: 311.9 kB / 0.799 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.127, allocations: 38.59 kB / 0.7991 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/1.127, allocations: 0 / 0.7991 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001867/1.129, allocations: 0.9368 MB / 0.8 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.129, allocations: 65.41 kB / 0.8 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009841/1.13, allocations: 0.8861 MB / 0.8009 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/1.13, allocations: 38.39 kB / 0.8009 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/1.13, allocations: 0.5586 MB / 0.8015 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/1.131, allocations: 253.9 kB / 0.8017 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/1.131, allocations: 142.5 kB / 0.8019 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.131, allocations: 334.6 kB / 0.8022 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/1.131, allocations: 260 kB / 0.8024 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/1.132, allocations: 452.7 kB / 0.8029 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.133, allocations: 0.7033 MB / 0.8036 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.133, allocations: 3.938 kB / 0.8036 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001334/1.134, allocations: 0.8379 MB / 0.8044 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.135, allocations: 10.03 kB / 0.8044 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.135, allocations: 3.406 kB / 0.8044 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/1.135, allocations: 11.09 kB / 0.8044 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/1.136, allocations: 261.2 kB / 0.8046 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/1.138, allocations: 1.493 MB / 0.8061 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008143/1.138, allocations: 80.84 kB / 0.8062 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/1.138, allocations: 32.73 kB / 0.8062 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008511/1.139, allocations: 476.3 kB / 0.8067 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006312/1.14, allocations: 448.4 kB / 0.8071 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/1.141, allocations: 0.7067 MB / 0.8078 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/1.141, allocations: 0 / 0.8078 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001432/1.143, allocations: 0.838 MB / 0.8086 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.143, allocations: 8.812 kB / 0.8086 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/1.143, allocations: 10.39 kB / 0.8086 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/1.143, allocations: 7.438 kB / 0.8086 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.144, allocations: 260.8 kB / 0.8089 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/1.145, allocations: 1.496 MB / 0.8103 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/1.146, allocations: 63.73 kB / 0.8104 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/1.146, allocations: 31.84 kB / 0.8104 GB, free: 7.062 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.0002795/1.147, allocations: 231.6 kB / 0.8106 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/1.147, allocations: 111.6 kB / 0.8108 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.148, allocations: 0.793 MB / 0.8115 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.149, allocations: 12.16 kB / 0.8115 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/1.149, allocations: 0 / 0.8115 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/1.15, allocations: 0.7166 MB / 0.8122 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/1.153, allocations: 1.934 MB / 0.8141 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.153, allocations: 0 / 0.8141 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/1.154, allocations: 142.3 kB / 0.8143 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/1.154, allocations: 40.91 kB / 0.8143 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/1.155, allocations: 17.77 kB / 0.8143 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/1.156, allocations: 1.46 MB / 0.8157 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.156, allocations: 6.562 kB / 0.8158 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/1.158, allocations: 1.224 MB / 0.8169 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/1.159, allocations: 257.3 kB / 0.8172 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.159, allocations: 13.81 kB / 0.8172 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/1.159, allocations: 26.09 kB / 0.8172 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/1.159, allocations: 49.39 kB / 0.8173 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/1.159, allocations: 21.05 kB / 0.8173 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007872/1.16, allocations: 0.5982 MB / 0.8179 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.16, allocations: 0 / 0.8179 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001563/1.162, allocations: 0.5371 MB / 0.8184 GB, free: 4.082 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.0005728/1.162, allocations: 216.4 kB / 0.8186 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004402/1.167, allocations: 1.294 MB / 0.8199 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.167, allocations: 0 / 0.8199 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.168, allocations: 450.2 kB / 0.8203 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/1.171, allocations: 0.5268 MB / 0.8208 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/1.175, allocations: 2.205 MB / 0.823 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/1.176, allocations: 1.137 MB / 0.8241 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001163/1.177, allocations: 276.3 kB / 0.8243 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/1.177, allocations: 82.33 kB / 0.8244 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/1.177, allocations: 0 / 0.8244 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of Templates: time 0.03215/1.209, allocations: 17.65 MB / 0.8417 GB, free: 2.613 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)