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.001244/0.001244, allocations: 106.3 kB / 15.99 MB, free: 6.359 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.001958/0.001958, allocations: 191.4 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.4/1.4, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8475/0.8475, allocations: 126.1 MB / 416.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 64.12 kB / 0.4945 GB, free: 3.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4201, allocations: 78.7 MB / 0.5713 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6019/1.022, allocations: 196.2 MB / 0.763 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01579/1.038, allocations: 10.29 MB / 0.773 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003401/1.041, allocations: 55 kB / 0.7731 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003089/1.044, allocations: 489.3 kB / 0.7735 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007892/1.052, allocations: 1.841 MB / 0.7753 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/1.058, allocations: 1.26 MB / 0.7766 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006034/1.064, allocations: 2.814 MB / 0.7793 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003313/1.067, allocations: 1.148 MB / 0.7804 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007054/1.074, allocations: 1.662 MB / 0.782 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/1.077, allocations: 1.006 MB / 0.783 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007242/1.078, allocations: 117 kB / 0.7831 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005475/1.083, allocations: 2.225 MB / 0.7853 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008155/1.084, allocations: 430.6 kB / 0.7857 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/1.086, allocations: 0.7085 MB / 0.7864 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005955/1.092, allocations: 2.593 MB / 0.7889 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.092, allocations: 6.344 kB / 0.789 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/1.092, allocations: 0 / 0.789 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.416e-05/1.092, allocations: 0.8438 kB / 0.789 GB, free: 1.035 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.00457/1.096, allocations: 1.818 MB / 0.7907 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.097, allocations: 9.406 kB / 0.7907 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/1.1, allocations: 368.5 kB / 0.7911 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/1.102, allocations: 0.9176 MB / 0.792 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/1.102, allocations: 74.06 kB / 0.7921 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/1.102, allocations: 110.9 kB / 0.7922 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/1.104, allocations: 1.108 MB / 0.7932 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.104, allocations: 3.938 kB / 0.7932 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/1.104, allocations: 41.25 kB / 0.7933 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/1.104, allocations: 42.03 kB / 0.7933 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/1.105, allocations: 0.8075 MB / 0.7941 GB, free: 15.41 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.006206/1.112, allocations: 5.069 MB / 0.7991 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/1.113, allocations: 0.7114 MB / 0.7998 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/1.113, allocations: 356 kB / 0.8001 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/1.114, allocations: 315 kB / 0.8004 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/1.114, allocations: 43.59 kB / 0.8004 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/1.114, allocations: 0 / 0.8004 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001974/1.116, allocations: 0.9381 MB / 0.8014 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.116, allocations: 61.69 kB / 0.8014 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/1.117, allocations: 0.8849 MB / 0.8023 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/1.117, allocations: 38.52 kB / 0.8023 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/1.118, allocations: 0.5551 MB / 0.8029 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/1.118, allocations: 251.9 kB / 0.8031 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/1.118, allocations: 140.9 kB / 0.8032 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.118, allocations: 339.3 kB / 0.8036 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/1.119, allocations: 258.8 kB / 0.8038 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/1.119, allocations: 447.2 kB / 0.8042 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.121, allocations: 0.7031 MB / 0.8049 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.121, allocations: 3.375 kB / 0.8049 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001765/1.122, allocations: 0.8402 MB / 0.8057 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.122, allocations: 8.5 kB / 0.8058 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.122, allocations: 5.219 kB / 0.8058 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.122, allocations: 8.938 kB / 0.8058 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/1.124, allocations: 257.8 kB / 0.806 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/1.126, allocations: 1.494 MB / 0.8075 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.127, allocations: 120.6 kB / 0.8076 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.127, allocations: 33.52 kB / 0.8076 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001065/1.128, allocations: 477.6 kB / 0.8081 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006405/1.129, allocations: 451.9 kB / 0.8085 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001116/1.13, allocations: 0.7098 MB / 0.8092 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/1.13, allocations: 3.188 kB / 0.8092 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001676/1.132, allocations: 0.8389 MB / 0.81 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.132, allocations: 7.312 kB / 0.81 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.132, allocations: 5.281 kB / 0.81 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.132, allocations: 9 kB / 0.81 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.133, allocations: 258.7 kB / 0.8103 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.135, allocations: 1.499 MB / 0.8117 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.136, allocations: 107.6 kB / 0.8119 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/1.136, allocations: 36.86 kB / 0.8119 GB, free: 7.059 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.0002898/1.136, allocations: 229 kB / 0.8121 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/1.137, allocations: 111.1 kB / 0.8122 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/1.138, allocations: 0.7932 MB / 0.813 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.139, allocations: 6.469 kB / 0.813 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.139, allocations: 0 / 0.813 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001432/1.14, allocations: 0.7115 MB / 0.8137 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/1.144, allocations: 1.932 MB / 0.8156 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.144, allocations: 2.938 kB / 0.8156 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/1.144, allocations: 137.6 kB / 0.8157 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003556/1.145, allocations: 45.55 kB / 0.8158 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/1.145, allocations: 24.5 kB / 0.8158 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.146, allocations: 1.454 MB / 0.8172 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.146, allocations: 6.781 kB / 0.8172 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/1.148, allocations: 1.226 MB / 0.8184 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/1.149, allocations: 258.9 kB / 0.8186 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.149, allocations: 15.97 kB / 0.8187 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/1.15, allocations: 59.44 kB / 0.8187 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.15, allocations: 51.36 kB / 0.8188 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/1.15, allocations: 21.69 kB / 0.8188 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008074/1.151, allocations: 0.5968 MB / 0.8194 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.151, allocations: 0 / 0.8194 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001596/1.153, allocations: 0.5315 MB / 0.8199 GB, free: 4.09 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.0005201/1.153, allocations: 211.2 kB / 0.8201 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003961/1.157, allocations: 1.291 MB / 0.8214 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.157, allocations: 0 / 0.8214 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/1.158, allocations: 447.2 kB / 0.8218 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.16, allocations: 0.5179 MB / 0.8223 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/1.165, allocations: 2.668 MB / 0.8249 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/1.165, allocations: 1.148 MB / 0.826 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00115/1.167, allocations: 272.8 kB / 0.8263 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/1.167, allocations: 78.61 kB / 0.8263 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/1.167, allocations: 0 / 0.8263 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of Templates: time 0.03087/1.198, allocations: 17.59 MB / 0.8435 GB, free: 1.93 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)