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.8871/0.8871, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.489/1.489, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009077/0.0009077, allocations: 85.8 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 269.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.574e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4943, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.015/5.509, allocations: 1.892 GB / 2.649 GB, free: 166 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/5.509, allocations: 87.83 kB / 2.65 GB, free: 166 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.911/9.421, allocations: 1.038 GB / 3.688 GB, free: 96.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/9.421, allocations: 3.562 kB / 3.688 GB, free: 96.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002407/9.421, allocations: 47.16 kB / 3.688 GB, free: 96.8 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.005101/9.426, allocations: 2.054 MB / 3.69 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/9.426, allocations: 14.16 kB / 3.69 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/9.43, allocations: 0.5996 MB / 3.69 GB, free: 95.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/9.434, allocations: 1.439 MB / 3.692 GB, free: 95.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/9.434, allocations: 120.5 kB / 3.692 GB, free: 95.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004463/9.435, allocations: 76.34 kB / 3.692 GB, free: 95.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002362/9.437, allocations: 0.9738 MB / 3.693 GB, free: 95.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/9.439, allocations: 1.197 MB / 3.694 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/9.439, allocations: 0 / 3.694 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/9.439, allocations: 3.938 kB / 3.694 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/9.44, allocations: 46.2 kB / 3.694 GB, free: 95.24 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.008052/9.448, allocations: 5.782 MB / 3.7 GB, free: 92.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/9.449, allocations: 0.882 MB / 3.7 GB, free: 92.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/9.449, allocations: 427.7 kB / 3.701 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/9.45, allocations: 307.5 kB / 3.701 GB, free: 92.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/9.45, allocations: 486.4 kB / 3.702 GB, free: 92.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 2.826e-06/9.45, allocations: 3.938 kB / 3.702 GB, free: 92.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.002231/9.453, allocations: 1.015 MB / 3.703 GB, free: 92.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/9.453, allocations: 190.5 kB / 3.703 GB, free: 91.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/9.454, allocations: 0.9302 MB / 3.704 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.066e-05/9.454, allocations: 29.42 kB / 3.704 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/9.455, allocations: 0.7642 MB / 3.704 GB, free: 91.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/9.455, allocations: 265 kB / 3.705 GB, free: 91.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/9.455, allocations: 2.906 kB / 3.705 GB, free: 91.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/9.455, allocations: 343.9 kB / 3.705 GB, free: 90.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/9.456, allocations: 316.6 kB / 3.705 GB, free: 90.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/9.456, allocations: 0.5612 MB / 3.706 GB, free: 90.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/9.457, allocations: 434.5 kB / 3.706 GB, free: 90.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/9.457, allocations: 0 / 3.706 GB, free: 90.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001976/9.459, allocations: 1.102 MB / 3.707 GB, free: 90.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003537/9.459, allocations: 1.734 MB / 3.709 GB, free: 88.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/9.459, allocations: 3.25 kB / 3.709 GB, free: 88.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/9.459, allocations: 46.86 kB / 3.709 GB, free: 88.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/9.46, allocations: 200.4 kB / 3.709 GB, free: 88.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000347/9.461, allocations: 0.6028 MB / 3.71 GB, free: 88.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/9.462, allocations: 159.1 kB / 3.71 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/9.462, allocations: 41.5 kB / 3.71 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/9.462, allocations: 5.031 kB / 3.71 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00153/9.464, allocations: 0.9267 MB / 3.711 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/9.464, allocations: 6.719 kB / 3.711 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/9.464, allocations: 51.38 kB / 3.711 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/9.465, allocations: 200.3 kB / 3.711 GB, free: 88.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/9.466, allocations: 1.538 MB / 3.713 GB, free: 86.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/9.467, allocations: 150 kB / 3.713 GB, free: 86.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/9.467, allocations: 37.06 kB / 3.713 GB, free: 86.82 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.0002257/9.468, allocations: 160.8 kB / 3.713 GB, free: 86.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/9.468, allocations: 150.2 kB / 3.713 GB, free: 86.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/9.47, allocations: 1.05 MB / 3.714 GB, free: 86.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/9.47, allocations: 9.344 kB / 3.714 GB, free: 86.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/9.47, allocations: 0 / 3.714 GB, free: 86.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/9.471, allocations: 0.9379 MB / 3.715 GB, free: 86.32 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.003858/9.475, allocations: 2.574 MB / 3.718 GB, free: 85.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/9.475, allocations: 0 / 3.718 GB, free: 85.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/9.476, allocations: 190.3 kB / 3.718 GB, free: 85.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/9.476, allocations: 47.89 kB / 3.718 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/9.476, allocations: 16.27 kB / 3.718 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003097/9.476, allocations: 0.5883 MB / 3.719 GB, free: 85.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/9.476, allocations: 0 / 3.719 GB, free: 85.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/9.479, allocations: 1.796 MB / 3.72 GB, free: 84.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/9.479, allocations: 342.8 kB / 3.721 GB, free: 84.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/9.48, allocations: 9.609 kB / 3.721 GB, free: 84.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/9.481, allocations: 113.7 kB / 3.721 GB, free: 84.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/9.481, allocations: 53.81 kB / 3.721 GB, free: 84.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/9.481, allocations: 31.58 kB / 3.721 GB, free: 84.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009937/9.482, allocations: 0.7102 MB / 3.722 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/9.482, allocations: 0 / 3.722 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003009/9.485, allocations: 0.963 MB / 3.722 GB, free: 84.38 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.003556/9.489, allocations: 2.621 MB / 3.725 GB, free: 83.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00216/9.491, allocations: 1.575 MB / 3.727 GB, free: 83.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/9.491, allocations: 0 / 3.727 GB, free: 83.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/9.491, allocations: 0.4917 MB / 3.727 GB, free: 83.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/9.495, allocations: 0.6978 MB / 3.728 GB, free: 83.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/9.501, allocations: 2.488 MB / 3.73 GB, free: 82.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/9.502, allocations: 1.37 MB / 3.731 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00226/9.504, allocations: 457 kB / 3.732 GB, free: 81.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/9.504, allocations: 81.92 kB / 3.732 GB, free: 81.78 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/9.504, allocations: 0 / 3.732 GB, free: 81.78 MB / 0.7136 GB Notification: Performance of Templates: time 0.05496/9.559, allocations: 39.19 MB / 3.77 GB, free: 79.19 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)