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.001162/0.001162, allocations: 90.25 kB / 16.67 MB, free: 6.59 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.001324/0.001324, allocations: 188.1 kB / 17.58 MB, free: 6.188 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.412/1.412, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7603/0.7603, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003852, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4181, allocations: 77.53 MB / 0.5606 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2119/0.6301, allocations: 193.9 MB / 0.75 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4172/1.047, allocations: 10.29 MB / 0.76 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/1.05, allocations: 53.48 kB / 0.7601 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.052, allocations: 478.5 kB / 0.7605 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006921/1.059, allocations: 1.833 MB / 0.7623 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004592/1.063, allocations: 1.241 MB / 0.7635 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007298/1.07, allocations: 3.675 MB / 0.7671 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/1.073, allocations: 0.9935 MB / 0.7681 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005768/1.079, allocations: 1.452 MB / 0.7695 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/1.082, allocations: 0.9225 MB / 0.7704 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/1.082, allocations: 47.22 kB / 0.7704 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006105/1.089, allocations: 2.375 MB / 0.7728 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000911/1.09, allocations: 347.8 kB / 0.7731 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/1.091, allocations: 0.6457 MB / 0.7737 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/1.095, allocations: 1.784 MB / 0.7755 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/1.095, allocations: 0 / 0.7755 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.504e-06/1.095, allocations: 1.125 kB / 0.7755 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.98e-05/1.095, allocations: 0 / 0.7755 GB, free: 17.48 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.003596/1.099, allocations: 1.57 MB / 0.777 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.099, allocations: 13.53 kB / 0.777 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/1.101, allocations: 369.6 kB / 0.7774 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/1.103, allocations: 0.9152 MB / 0.7783 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/1.103, allocations: 77.97 kB / 0.7783 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/1.104, allocations: 105.1 kB / 0.7784 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.106, allocations: 1.109 MB / 0.7795 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.106, allocations: 10.36 kB / 0.7795 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/1.106, allocations: 40.97 kB / 0.7796 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/1.106, allocations: 37.98 kB / 0.7796 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/1.108, allocations: 0.8091 MB / 0.7804 GB, free: 15.89 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.007292/1.115, allocations: 5.076 MB / 0.7853 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/1.117, allocations: 0.6948 MB / 0.786 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/1.117, allocations: 358.8 kB / 0.7864 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006489/1.118, allocations: 326.2 kB / 0.7867 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/1.118, allocations: 49 kB / 0.7867 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.755e-06/1.118, allocations: 0 / 0.7867 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002185/1.12, allocations: 0.9433 MB / 0.7876 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.12, allocations: 63.94 kB / 0.7877 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/1.121, allocations: 0.8775 MB / 0.7886 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/1.121, allocations: 39.77 kB / 0.7886 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/1.122, allocations: 0.5668 MB / 0.7892 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.122, allocations: 244.9 kB / 0.7894 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.122, allocations: 69.81 kB / 0.7895 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.122, allocations: 333.2 kB / 0.7898 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/1.123, allocations: 247.8 kB / 0.79 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/1.123, allocations: 450 kB / 0.7904 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.124, allocations: 0.7094 MB / 0.7911 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.125, allocations: 3.281 kB / 0.7911 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001457/1.126, allocations: 0.834 MB / 0.792 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/1.126, allocations: 230.9 kB / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.126, allocations: 6.062 kB / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.126, allocations: 8.406 kB / 0.7922 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.128, allocations: 253.2 kB / 0.7924 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/1.129, allocations: 1.393 MB / 0.7938 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.13, allocations: 125.2 kB / 0.7939 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/1.131, allocations: 35.25 kB / 0.7939 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-06/1.131, allocations: 7.594 kB / 0.7939 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/1.132, allocations: 0.7128 MB / 0.7946 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.132, allocations: 7.516 kB / 0.7946 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.415e-06/1.132, allocations: 8.031 kB / 0.7947 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.133, allocations: 253.5 kB / 0.7949 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/1.134, allocations: 1.392 MB / 0.7963 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.136, allocations: 120.6 kB / 0.7964 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/1.136, allocations: 26.91 kB / 0.7964 GB, free: 7.961 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.0007677/1.137, allocations: 371.2 kB / 0.7968 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/1.137, allocations: 110.8 kB / 0.7969 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/1.138, allocations: 0.7922 MB / 0.7976 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.138, allocations: 7.203 kB / 0.7976 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.138, allocations: 4 kB / 0.7976 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/1.14, allocations: 0.7103 MB / 0.7983 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/1.143, allocations: 1.934 MB / 0.8002 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.143, allocations: 224 / 0.8002 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/1.144, allocations: 147.9 kB / 0.8004 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/1.144, allocations: 42.55 kB / 0.8004 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/1.144, allocations: 19.22 kB / 0.8004 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/1.146, allocations: 1.356 MB / 0.8017 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.146, allocations: 2.906 kB / 0.8018 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/1.148, allocations: 1.223 MB / 0.8029 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/1.148, allocations: 254.5 kB / 0.8032 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.148, allocations: 27.08 kB / 0.8032 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/1.149, allocations: 55.09 kB / 0.8033 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/1.149, allocations: 49.27 kB / 0.8033 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/1.149, allocations: 23.84 kB / 0.8033 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007591/1.15, allocations: 0.5937 MB / 0.8039 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 0 / 0.8039 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001585/1.152, allocations: 0.5333 MB / 0.8044 GB, free: 5.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.0005531/1.152, allocations: 217.4 kB / 0.8046 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003336/1.156, allocations: 1.183 MB / 0.8058 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/1.156, allocations: 2.938 kB / 0.8058 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/1.156, allocations: 445.7 kB / 0.8062 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.159, allocations: 0.5097 MB / 0.8067 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/1.164, allocations: 2.812 MB / 0.8095 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/1.164, allocations: 1.137 MB / 0.8106 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.165, allocations: 92.95 kB / 0.8107 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.165, allocations: 1.75 kB / 0.8107 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of Templates: time 0.03325/1.198, allocations: 21.26 MB / 0.8314 GB, free: 5.895 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)