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.001642/0.001642, allocations: 104 kB / 16.52 MB, free: 6.27 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.002008/0.002008, allocations: 196 kB / 17.44 MB, free: 5.887 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7182/0.7182, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4045, allocations: 76.16 MB / 0.5564 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5699/0.9745, allocations: 196.6 MB / 0.7483 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.9896, allocations: 10.44 MB / 0.7585 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.9921, allocations: 51.72 kB / 0.7586 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.9942, allocations: 483.9 kB / 0.759 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007157/1.001, allocations: 1.835 MB / 0.7608 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004515/1.006, allocations: 1.24 MB / 0.762 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007272/1.013, allocations: 3.676 MB / 0.7656 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/1.016, allocations: 1.023 MB / 0.7666 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/1.021, allocations: 1.508 MB / 0.7681 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/1.024, allocations: 0.9797 MB / 0.769 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003467/1.025, allocations: 66.81 kB / 0.7691 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006249/1.031, allocations: 2.398 MB / 0.7715 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007946/1.032, allocations: 375.4 kB / 0.7718 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/1.033, allocations: 0.6566 MB / 0.7725 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/1.037, allocations: 1.81 MB / 0.7742 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.037, allocations: 4.75 kB / 0.7742 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/1.037, allocations: 2.906 kB / 0.7742 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.923e-05/1.037, allocations: 0 / 0.7742 GB, free: 17.26 MB / 0.5919 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.003902/1.041, allocations: 1.814 MB / 0.776 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.041, allocations: 16.52 kB / 0.776 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/1.044, allocations: 367.5 kB / 0.7764 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.046, allocations: 0.9147 MB / 0.7773 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.231e-05/1.046, allocations: 75.59 kB / 0.7773 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/1.046, allocations: 108.1 kB / 0.7774 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/1.048, allocations: 1.103 MB / 0.7785 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/1.048, allocations: 4.25 kB / 0.7785 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/1.048, allocations: 45.25 kB / 0.7786 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/1.048, allocations: 39.19 kB / 0.7786 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/1.05, allocations: 0.8122 MB / 0.7794 GB, free: 15.64 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.006861/1.057, allocations: 5.074 MB / 0.7843 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/1.058, allocations: 0.6956 MB / 0.785 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/1.058, allocations: 357 kB / 0.7854 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/1.059, allocations: 319.6 kB / 0.7857 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.059, allocations: 44.56 kB / 0.7857 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.966e-06/1.059, allocations: 1.906 kB / 0.7857 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002014/1.061, allocations: 0.9396 MB / 0.7866 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.061, allocations: 62.81 kB / 0.7867 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.062, allocations: 0.8771 MB / 0.7875 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.151e-05/1.062, allocations: 39.33 kB / 0.7876 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/1.063, allocations: 0.5626 MB / 0.7881 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/1.063, allocations: 250.1 kB / 0.7884 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.063, allocations: 139.7 kB / 0.7885 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.063, allocations: 337.7 kB / 0.7888 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/1.064, allocations: 260.5 kB / 0.7891 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/1.065, allocations: 449 kB / 0.7895 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.066, allocations: 0.7054 MB / 0.7902 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.066, allocations: 4.859 kB / 0.7902 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001579/1.067, allocations: 0.8389 MB / 0.791 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.067, allocations: 10.62 kB / 0.791 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.067, allocations: 5.25 kB / 0.791 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.067, allocations: 8.531 kB / 0.791 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.069, allocations: 261.8 kB / 0.7913 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/1.071, allocations: 1.391 MB / 0.7926 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.072, allocations: 124.1 kB / 0.7928 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/1.072, allocations: 29.19 kB / 0.7928 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009673/1.073, allocations: 478.4 kB / 0.7932 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006372/1.074, allocations: 458.5 kB / 0.7937 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/1.075, allocations: 0.7062 MB / 0.7944 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.316e-06/1.075, allocations: 6.438 kB / 0.7944 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001567/1.076, allocations: 0.8321 MB / 0.7952 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.076, allocations: 8.094 kB / 0.7952 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.076, allocations: 6.406 kB / 0.7952 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/1.076, allocations: 8.375 kB / 0.7952 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.078, allocations: 263.8 kB / 0.7955 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/1.079, allocations: 1.385 MB / 0.7968 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.08, allocations: 110 kB / 0.7969 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/1.08, allocations: 34.02 kB / 0.797 GB, free: 7.398 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.0003303/1.081, allocations: 232.4 kB / 0.7972 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.081, allocations: 111.7 kB / 0.7973 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/1.083, allocations: 0.795 MB / 0.7981 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/1.083, allocations: 12.59 kB / 0.7981 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.083, allocations: 0 / 0.7981 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/1.084, allocations: 0.7112 MB / 0.7988 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/1.089, allocations: 1.929 MB / 0.8007 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.089, allocations: 2.219 kB / 0.8007 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/1.089, allocations: 143.1 kB / 0.8008 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/1.09, allocations: 46.8 kB / 0.8008 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/1.09, allocations: 19.89 kB / 0.8009 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/1.091, allocations: 1.345 MB / 0.8022 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.091, allocations: 2.156 kB / 0.8022 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/1.094, allocations: 1.236 MB / 0.8034 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/1.095, allocations: 249 kB / 0.8036 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/1.095, allocations: 16.42 kB / 0.8036 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/1.096, allocations: 62.11 kB / 0.8037 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/1.096, allocations: 44.08 kB / 0.8037 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/1.096, allocations: 27.17 kB / 0.8038 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001203/1.098, allocations: 0.5998 MB / 0.8043 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.643e-06/1.098, allocations: 1.75 kB / 0.8043 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002295/1.1, allocations: 0.5371 MB / 0.8049 GB, free: 4.527 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.0007129/1.101, allocations: 220.5 kB / 0.8051 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003787/1.104, allocations: 1.199 MB / 0.8063 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.104, allocations: 1.094 kB / 0.8063 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.105, allocations: 448.8 kB / 0.8067 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.109, allocations: 0.5012 MB / 0.8072 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/1.114, allocations: 2.707 MB / 0.8098 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.116, allocations: 1.141 MB / 0.8109 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/1.116, allocations: 89.52 kB / 0.811 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of SimCode: time 1.513e-06/1.116, allocations: 0.5312 kB / 0.811 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of Templates: time 0.03536/1.151, allocations: 21.45 MB / 0.832 GB, free: 2.465 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)