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.8951/0.8951, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001377/0.001377, allocations: 188.2 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.463/1.463, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009304/0.0009305, allocations: 107.7 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 288.9 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.444e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.477, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.143/5.62, allocations: 1.892 GB / 2.65 GB, free: 165.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/5.621, allocations: 88.7 kB / 2.65 GB, free: 165.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.824/9.445, allocations: 1.038 GB / 3.688 GB, free: 96.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/9.445, allocations: 0 / 3.688 GB, free: 96.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001687/9.445, allocations: 46.64 kB / 3.688 GB, free: 96.68 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.004651/9.449, allocations: 2.061 MB / 3.69 GB, free: 95.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/9.45, allocations: 7.25 kB / 3.69 GB, free: 95.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/9.453, allocations: 0.6126 MB / 3.69 GB, free: 95.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/9.456, allocations: 1.435 MB / 3.692 GB, free: 95.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/9.457, allocations: 111.9 kB / 3.692 GB, free: 95.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/9.457, allocations: 81.66 kB / 3.692 GB, free: 95.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/9.459, allocations: 0.97 MB / 3.693 GB, free: 95.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/9.46, allocations: 1.204 MB / 3.694 GB, free: 95.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/9.46, allocations: 1.594 kB / 3.694 GB, free: 95.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/9.46, allocations: 3.938 kB / 3.694 GB, free: 95.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/9.461, allocations: 42.55 kB / 3.694 GB, free: 95.11 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.007348/9.468, allocations: 5.779 MB / 3.7 GB, free: 92.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/9.469, allocations: 0.8766 MB / 3.701 GB, free: 92.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/9.469, allocations: 428 kB / 3.701 GB, free: 92.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004912/9.47, allocations: 313.7 kB / 3.701 GB, free: 92.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006043/9.47, allocations: 481.5 kB / 3.702 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=79): time 2.866e-06/9.47, allocations: 0 / 3.702 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=79): time 0.002188/9.473, allocations: 1.014 MB / 3.703 GB, free: 91.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/9.473, allocations: 194.4 kB / 3.703 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/9.474, allocations: 0.9301 MB / 3.704 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/9.474, allocations: 29.98 kB / 3.704 GB, free: 91.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/9.474, allocations: 0.7609 MB / 3.705 GB, free: 91.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/9.475, allocations: 265.2 kB / 3.705 GB, free: 91.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/9.475, allocations: 0 / 3.705 GB, free: 91.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/9.475, allocations: 342 kB / 3.705 GB, free: 90.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/9.475, allocations: 320.3 kB / 3.705 GB, free: 90.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/9.476, allocations: 0.5625 MB / 3.706 GB, free: 90.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/9.476, allocations: 436.4 kB / 3.706 GB, free: 90.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/9.476, allocations: 2.719 kB / 3.706 GB, free: 90.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001738/9.478, allocations: 1.102 MB / 3.708 GB, free: 90.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003252/9.479, allocations: 1.733 MB / 3.709 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/9.479, allocations: 10.83 kB / 3.709 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/9.479, allocations: 42.42 kB / 3.709 GB, free: 88.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/9.48, allocations: 202.8 kB / 3.709 GB, free: 88.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003254/9.48, allocations: 0.5991 MB / 3.71 GB, free: 88.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/9.481, allocations: 163.6 kB / 3.71 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/9.481, allocations: 35.5 kB / 3.71 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/9.481, allocations: 4.875 kB / 3.71 GB, free: 88.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/9.483, allocations: 0.9317 MB / 3.711 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/9.483, allocations: 3.625 kB / 3.711 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/9.483, allocations: 47.53 kB / 3.711 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/9.484, allocations: 200.8 kB / 3.711 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/9.485, allocations: 1.535 MB / 3.713 GB, free: 86.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/9.486, allocations: 153 kB / 3.713 GB, free: 86.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-05/9.487, allocations: 41.67 kB / 3.713 GB, free: 86.69 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.0002735/9.487, allocations: 166.8 kB / 3.713 GB, free: 86.55 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001516/9.488, allocations: 0.9764 MB / 3.714 GB, free: 86.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/9.489, allocations: 149.2 kB / 3.714 GB, free: 86.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/9.49, allocations: 1.046 MB / 3.715 GB, free: 86.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/9.49, allocations: 6.219 kB / 3.715 GB, free: 86.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/9.49, allocations: 7.344 kB / 3.715 GB, free: 86.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/9.492, allocations: 0.9361 MB / 3.716 GB, free: 86.05 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.003934/9.496, allocations: 2.577 MB / 3.719 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/9.496, allocations: 2.812 kB / 3.719 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/9.496, allocations: 181.8 kB / 3.719 GB, free: 85.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/9.497, allocations: 44.39 kB / 3.719 GB, free: 85.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/9.497, allocations: 18.17 kB / 3.719 GB, free: 85.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002733/9.497, allocations: 0.5786 MB / 3.72 GB, free: 85.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/9.497, allocations: 6.25 kB / 3.72 GB, free: 85.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/9.499, allocations: 1.799 MB / 3.721 GB, free: 84.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/9.5, allocations: 340.9 kB / 3.722 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/9.5, allocations: 7.625 kB / 3.722 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/9.501, allocations: 120.4 kB / 3.722 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/9.501, allocations: 53.53 kB / 3.722 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/9.501, allocations: 38.09 kB / 3.722 GB, free: 84.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008871/9.502, allocations: 0.7051 MB / 3.723 GB, free: 84.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/9.502, allocations: 0 / 3.723 GB, free: 84.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002506/9.504, allocations: 0.9646 MB / 3.724 GB, free: 84.11 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.005326/9.51, allocations: 5.415 MB / 3.729 GB, free: 81.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002196/9.512, allocations: 1.579 MB / 3.73 GB, free: 81.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/9.512, allocations: 2.75 kB / 3.73 GB, free: 81.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005709/9.513, allocations: 498.2 kB / 3.731 GB, free: 81.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/9.516, allocations: 0.7072 MB / 3.732 GB, free: 81.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/9.523, allocations: 2.825 MB / 3.734 GB, free: 80.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/9.523, allocations: 1.367 MB / 3.736 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00197/9.525, allocations: 457.1 kB / 3.736 GB, free: 79.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/9.526, allocations: 0.5954 MB / 3.737 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/9.526, allocations: 2.531 kB / 3.737 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09276/9.619, allocations: 55.9 MB / 3.791 GB, free: 71.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/9.619, allocations: 184.3 kB / 3.791 GB, free: 70.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.9/13.52, allocations: 0 / 3.791 GB, free: 70.84 MB / 0.7136 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)