Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") translateModel(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7975/0.7975, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 182.4 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009698/0.0009701, allocations: 95.27 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 278.2 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.832e-05/4.846e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4844, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.88/5.365, allocations: 1.893 GB / 2.657 GB, free: 114 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/5.365, allocations: 90.95 kB / 2.657 GB, free: 114 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/9.01, allocations: 1.049 GB / 3.706 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.526e-06/9.01, allocations: 0 / 3.706 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002184/9.01, allocations: 46.94 kB / 3.706 GB, free: 92.93 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.005588/9.016, allocations: 2.058 MB / 3.708 GB, free: 91.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/9.016, allocations: 10.69 kB / 3.708 GB, free: 91.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/9.02, allocations: 0.6107 MB / 3.709 GB, free: 91.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/9.023, allocations: 1.432 MB / 3.71 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/9.023, allocations: 159.9 kB / 3.71 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/9.023, allocations: 128.2 kB / 3.71 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/9.026, allocations: 1.366 MB / 3.712 GB, free: 91.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/9.026, allocations: 7.438 kB / 3.712 GB, free: 91.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/9.026, allocations: 51.69 kB / 3.712 GB, free: 91.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/9.026, allocations: 40.45 kB / 3.712 GB, free: 91.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/9.027, allocations: 1.04 MB / 3.713 GB, free: 91.14 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.007517/9.035, allocations: 6.012 MB / 3.719 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/9.036, allocations: 0.9007 MB / 3.72 GB, free: 88.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/9.037, allocations: 448.2 kB / 3.72 GB, free: 88.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/9.037, allocations: 314.3 kB / 3.72 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007195/9.038, allocations: 0.4909 MB / 3.721 GB, free: 88.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 4.879e-06/9.038, allocations: 3.906 kB / 3.721 GB, free: 88.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.002061/9.04, allocations: 1.034 MB / 3.722 GB, free: 87.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/9.04, allocations: 195.8 kB / 3.722 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/9.042, allocations: 1.129 MB / 3.723 GB, free: 87.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/9.042, allocations: 44.42 kB / 3.723 GB, free: 87.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/9.042, allocations: 0.7485 MB / 3.724 GB, free: 87.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/9.042, allocations: 268.3 kB / 3.724 GB, free: 86.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/9.043, allocations: 20.25 kB / 3.724 GB, free: 86.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/9.043, allocations: 335.9 kB / 3.724 GB, free: 86.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/9.043, allocations: 333.6 kB / 3.725 GB, free: 86.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005836/9.044, allocations: 0.5778 MB / 3.725 GB, free: 86.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/9.044, allocations: 434.8 kB / 3.726 GB, free: 86.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/9.044, allocations: 3.938 kB / 3.726 GB, free: 86.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001758/9.046, allocations: 1.146 MB / 3.727 GB, free: 86.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004034/9.046, allocations: 1.745 MB / 3.729 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/9.046, allocations: 6.781 kB / 3.729 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/9.047, allocations: 50.69 kB / 3.729 GB, free: 84.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/9.048, allocations: 207.2 kB / 3.729 GB, free: 84.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/9.048, allocations: 0.5939 MB / 3.729 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/9.05, allocations: 192.4 kB / 3.73 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/9.05, allocations: 41.48 kB / 3.73 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/9.05, allocations: 6.125 kB / 3.73 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/9.051, allocations: 0.9977 MB / 3.731 GB, free: 83.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/9.051, allocations: 3.875 kB / 3.731 GB, free: 83.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/9.051, allocations: 51.03 kB / 3.731 GB, free: 83.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/9.052, allocations: 200 kB / 3.731 GB, free: 83.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/9.053, allocations: 1.591 MB / 3.732 GB, free: 82.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/9.055, allocations: 185.7 kB / 3.733 GB, free: 82.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/9.055, allocations: 40.25 kB / 3.733 GB, free: 82.24 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/9.055, allocations: 202.5 kB / 3.733 GB, free: 82.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/9.055, allocations: 156.7 kB / 3.733 GB, free: 82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/9.057, allocations: 1.082 MB / 3.734 GB, free: 81.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/9.057, allocations: 7.406 kB / 3.734 GB, free: 81.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/9.057, allocations: 3.781 kB / 3.734 GB, free: 81.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/9.059, allocations: 0.9653 MB / 3.735 GB, free: 81.65 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.003949/9.062, allocations: 2.761 MB / 3.738 GB, free: 80.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/9.063, allocations: 3.5 kB / 3.738 GB, free: 80.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/9.063, allocations: 188.3 kB / 3.738 GB, free: 80.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/9.064, allocations: 52.16 kB / 3.738 GB, free: 80.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/9.064, allocations: 26.66 kB / 3.738 GB, free: 80.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00026/9.064, allocations: 0.5819 MB / 3.738 GB, free: 79.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/9.064, allocations: 0 / 3.738 GB, free: 79.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/9.066, allocations: 1.859 MB / 3.74 GB, free: 78.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/9.067, allocations: 351.2 kB / 3.741 GB, free: 78.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/9.067, allocations: 25.84 kB / 3.741 GB, free: 78.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/9.068, allocations: 129.3 kB / 3.741 GB, free: 78.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/9.068, allocations: 51.84 kB / 3.741 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/9.068, allocations: 29.53 kB / 3.741 GB, free: 78.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001115/9.069, allocations: 0.8858 MB / 3.742 GB, free: 78.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.092e-06/9.069, allocations: 0 / 3.742 GB, free: 78.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002829/9.072, allocations: 1.051 MB / 3.743 GB, free: 77.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003134/9.075, allocations: 2.356 MB / 3.745 GB, free: 76.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002457/9.078, allocations: 1.665 MB / 3.747 GB, free: 76.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/9.078, allocations: 0 / 3.747 GB, free: 76.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000635/9.078, allocations: 0.5037 MB / 3.747 GB, free: 75.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/9.083, allocations: 0.8152 MB / 3.748 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/9.088, allocations: 2.556 MB / 3.75 GB, free: 74.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/9.089, allocations: 1.365 MB / 3.752 GB, free: 73.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002333/9.092, allocations: 0.4952 MB / 3.752 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/9.092, allocations: 87.56 kB / 3.752 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/9.092, allocations: 0 / 3.752 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.08107/9.173, allocations: 62.43 MB / 3.813 GB, free: 17.48 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)