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: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6894/0.6894, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009583/0.0009581, allocations: 182.6 kB / 187.3 MB, free: 11.88 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.247/1.247, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008921/0.0008924, allocations: 100.9 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 278.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.863e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3687, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.594/3.962, allocations: 1.893 GB / 2.657 GB, free: 114 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/3.963, allocations: 86.95 kB / 2.657 GB, free: 114 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.149/7.112, allocations: 1.049 GB / 3.706 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/7.112, allocations: 0 / 3.706 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001955/7.112, allocations: 47.84 kB / 3.706 GB, free: 92.41 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.004103/7.116, allocations: 2.062 MB / 3.708 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/7.116, allocations: 7.719 kB / 3.708 GB, free: 91.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/7.117, allocations: 177.7 kB / 3.708 GB, free: 91.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/7.12, allocations: 0.6104 MB / 3.709 GB, free: 91.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/7.123, allocations: 1.437 MB / 3.71 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/7.123, allocations: 163.4 kB / 3.711 GB, free: 90.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/7.124, allocations: 126.2 kB / 3.711 GB, free: 90.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/7.126, allocations: 1.365 MB / 3.712 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/7.127, allocations: 1.688 kB / 3.712 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/7.127, allocations: 56.16 kB / 3.712 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/7.127, allocations: 40.83 kB / 3.712 GB, free: 90.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/7.128, allocations: 1.043 MB / 3.713 GB, free: 90.59 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.007889/7.136, allocations: 6.008 MB / 3.719 GB, free: 88.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/7.137, allocations: 0.9002 MB / 3.72 GB, free: 87.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/7.138, allocations: 449.8 kB / 3.72 GB, free: 87.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004577/7.138, allocations: 313.6 kB / 3.721 GB, free: 87.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006416/7.139, allocations: 0.4903 MB / 3.721 GB, free: 87.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 3.036e-06/7.139, allocations: 2.516 kB / 3.721 GB, free: 87.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.001887/7.141, allocations: 1.038 MB / 3.722 GB, free: 87.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/7.141, allocations: 199.2 kB / 3.722 GB, free: 87.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/7.142, allocations: 1.125 MB / 3.723 GB, free: 86.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/7.143, allocations: 40.64 kB / 3.723 GB, free: 86.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/7.143, allocations: 0.7494 MB / 3.724 GB, free: 86.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/7.143, allocations: 274.5 kB / 3.724 GB, free: 86.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/7.143, allocations: 19.75 kB / 3.724 GB, free: 86.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/7.143, allocations: 341 kB / 3.725 GB, free: 86.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/7.144, allocations: 329.4 kB / 3.725 GB, free: 86.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/7.144, allocations: 0.5811 MB / 3.726 GB, free: 85.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/7.145, allocations: 436.4 kB / 3.726 GB, free: 85.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/7.145, allocations: 3.5 kB / 3.726 GB, free: 85.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001574/7.146, allocations: 1.147 MB / 3.727 GB, free: 85.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/7.147, allocations: 1.735 MB / 3.729 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/7.147, allocations: 5.812 kB / 3.729 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/7.147, allocations: 53.58 kB / 3.729 GB, free: 83.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/7.148, allocations: 202.9 kB / 3.729 GB, free: 83.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002963/7.148, allocations: 0.5923 MB / 3.73 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/7.15, allocations: 189.2 kB / 3.73 GB, free: 83.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/7.15, allocations: 39.05 kB / 3.73 GB, free: 83.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/7.15, allocations: 4.562 kB / 3.73 GB, free: 83.23 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001359/7.151, allocations: 0.999 MB / 3.731 GB, free: 83.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/7.151, allocations: 7.797 kB / 3.731 GB, free: 83.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/7.151, allocations: 52.3 kB / 3.731 GB, free: 83.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/7.152, allocations: 205.1 kB / 3.731 GB, free: 83.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/7.153, allocations: 1.589 MB / 3.733 GB, free: 81.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/7.154, allocations: 188.6 kB / 3.733 GB, free: 81.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/7.155, allocations: 38.55 kB / 3.733 GB, free: 81.7 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.0002212/7.155, allocations: 195.8 kB / 3.733 GB, free: 81.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/7.155, allocations: 163.2 kB / 3.733 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/7.157, allocations: 1.085 MB / 3.734 GB, free: 81.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/7.157, allocations: 11.38 kB / 3.734 GB, free: 81.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/7.157, allocations: 3.953 kB / 3.734 GB, free: 81.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/7.158, allocations: 0.9598 MB / 3.735 GB, free: 81.13 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.003639/7.161, allocations: 2.765 MB / 3.738 GB, free: 79.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/7.162, allocations: 6.188 kB / 3.738 GB, free: 79.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/7.162, allocations: 178.6 kB / 3.738 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/7.162, allocations: 56.31 kB / 3.738 GB, free: 79.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/7.163, allocations: 27.11 kB / 3.738 GB, free: 79.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002259/7.163, allocations: 0.5778 MB / 3.739 GB, free: 79.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/7.163, allocations: 3.906 kB / 3.739 GB, free: 79.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/7.165, allocations: 1.859 MB / 3.741 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/7.165, allocations: 350.7 kB / 3.741 GB, free: 77.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/7.165, allocations: 21.69 kB / 3.741 GB, free: 77.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/7.167, allocations: 129.6 kB / 3.741 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/7.167, allocations: 56.48 kB / 3.741 GB, free: 77.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/7.167, allocations: 28.86 kB / 3.741 GB, free: 77.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009503/7.168, allocations: 0.8847 MB / 3.742 GB, free: 77.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/7.168, allocations: 0 / 3.742 GB, free: 77.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00244/7.17, allocations: 1.049 MB / 3.743 GB, free: 77.3 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.004687/7.175, allocations: 5.209 MB / 3.748 GB, free: 74.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002028/7.177, allocations: 1.66 MB / 3.75 GB, free: 73.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/7.177, allocations: 3.938 kB / 3.75 GB, free: 73.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/7.178, allocations: 0.5164 MB / 3.75 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/7.181, allocations: 0.8026 MB / 3.751 GB, free: 73.17 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/7.187, allocations: 2.933 MB / 3.754 GB, free: 72.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/7.188, allocations: 1.365 MB / 3.755 GB, free: 71.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001917/7.19, allocations: 0.4888 MB / 3.756 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/7.19, allocations: 0.604 MB / 3.756 GB, free: 70.11 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/7.19, allocations: 4 kB / 3.756 GB, free: 70.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09672/7.287, allocations: 83.35 MB / 3.838 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/7.287, allocations: 235.6 kB / 3.838 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.521/11.81, allocations: 0 / 3.838 GB, free: 7.953 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Examples_Humidifier_u.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)