Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.542/2.542, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001603, allocations: 182.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 94.03 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006712/0.0006712, allocations: 12.19 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2444, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.047/7.291, allocations: 2.087 GB / 3.065 GB, free: 172 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/7.292, allocations: 99.38 kB / 3.065 GB, free: 172 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.95/13.24, allocations: 1.037 GB / 4.102 GB, free: 160.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.986e-06/13.24, allocations: 2.531 kB / 4.102 GB, free: 160.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003385/13.24, allocations: 47.11 kB / 4.102 GB, free: 160.4 MB / 0.948 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.009799/13.25, allocations: 2.373 MB / 4.105 GB, free: 159.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/13.25, allocations: 11.09 kB / 4.105 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009211/13.25, allocations: 178.2 kB / 4.105 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/13.26, allocations: 0.6145 MB / 4.106 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00648/13.27, allocations: 1.451 MB / 4.107 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007586/13.27, allocations: 156.3 kB / 4.107 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/13.27, allocations: 124.1 kB / 4.107 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/13.27, allocations: 1.471 MB / 4.109 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/13.27, allocations: 6.625 kB / 4.109 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/13.27, allocations: 46.5 kB / 4.109 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-05/13.27, allocations: 45.61 kB / 4.109 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005668/13.28, allocations: 1.245 MB / 4.11 GB, free: 158.5 MB / 0.948 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.01684/13.3, allocations: 6.02 MB / 4.116 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/13.3, allocations: 1.083 MB / 4.117 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/13.3, allocations: 312.2 kB / 4.117 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/13.3, allocations: 0.5883 MB / 4.118 GB, free: 155.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 5.45e-06/13.3, allocations: 0 / 4.118 GB, free: 155.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.00839/13.31, allocations: 1.828 MB / 4.12 GB, free: 155 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/13.31, allocations: 201.8 kB / 4.12 GB, free: 154.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/13.32, allocations: 1.14 MB / 4.121 GB, free: 154.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004331/13.32, allocations: 44.7 kB / 4.121 GB, free: 154.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/13.32, allocations: 0.7453 MB / 4.122 GB, free: 154.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/13.32, allocations: 265.6 kB / 4.122 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/13.32, allocations: 16.09 kB / 4.122 GB, free: 154.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001162/13.32, allocations: 336.4 kB / 4.122 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/13.32, allocations: 430.9 kB / 4.123 GB, free: 153.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/13.32, allocations: 0.6869 MB / 4.123 GB, free: 153.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/13.32, allocations: 0.5127 MB / 4.124 GB, free: 153.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/13.32, allocations: 6.562 kB / 4.124 GB, free: 153.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005812/13.33, allocations: 1.354 MB / 4.125 GB, free: 153.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006217/13.33, allocations: 1.741 MB / 4.127 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/13.33, allocations: 2.906 kB / 4.127 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/13.33, allocations: 50.64 kB / 4.127 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/13.33, allocations: 207.2 kB / 4.127 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/13.33, allocations: 0.59 MB / 4.128 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/13.34, allocations: 195.1 kB / 4.128 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/13.34, allocations: 39.06 kB / 4.128 GB, free: 150.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/13.34, allocations: 6.781 kB / 4.128 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004813/13.34, allocations: 1.199 MB / 4.129 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/13.34, allocations: 11.03 kB / 4.129 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/13.34, allocations: 49.44 kB / 4.129 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/13.35, allocations: 204.2 kB / 4.129 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/13.35, allocations: 1.598 MB / 4.131 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/13.35, allocations: 177.3 kB / 4.131 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/13.35, allocations: 39.55 kB / 4.131 GB, free: 149.4 MB / 0.948 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 () * Number of clocked 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.001706/13.35, allocations: 0.4986 MB / 4.132 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006573/13.35, allocations: 163.5 kB / 4.132 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005278/13.36, allocations: 1.285 MB / 4.133 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/13.36, allocations: 15.36 kB / 4.133 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/13.36, allocations: 0 / 4.133 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004307/13.36, allocations: 1.152 MB / 4.134 GB, free: 148.7 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.01048/13.37, allocations: 2.937 MB / 4.137 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/13.37, allocations: 7.562 kB / 4.137 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/13.38, allocations: 190.9 kB / 4.137 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/13.38, allocations: 49.53 kB / 4.137 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/13.38, allocations: 25.28 kB / 4.137 GB, free: 147.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004813/13.38, allocations: 0.5905 MB / 4.138 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/13.38, allocations: 6.266 kB / 4.138 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/13.38, allocations: 2.134 MB / 4.14 GB, free: 145.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/13.39, allocations: 354.2 kB / 4.14 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000675/13.39, allocations: 19.72 kB / 4.14 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/13.39, allocations: 130.5 kB / 4.14 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/13.39, allocations: 50.58 kB / 4.14 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/13.39, allocations: 38.38 kB / 4.14 GB, free: 145.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002551/13.39, allocations: 0.8914 MB / 4.141 GB, free: 145.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.132e-06/13.39, allocations: 0 / 4.141 GB, free: 145.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005977/13.4, allocations: 1.047 MB / 4.142 GB, free: 144.9 MB / 0.948 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) * Number of clocked states: 0 () * 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.01266/13.41, allocations: 5.503 MB / 4.148 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007224/13.42, allocations: 1.894 MB / 4.15 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/13.42, allocations: 3.172 kB / 4.15 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/13.42, allocations: 0.605 MB / 4.15 GB, free: 141 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007544/13.43, allocations: 0.8148 MB / 4.151 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/13.46, allocations: 12.77 MB / 4.163 GB, free: 133 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/13.47, allocations: 1.36 MB / 4.165 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003091/13.47, allocations: 371.6 kB / 4.165 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/13.47, allocations: 0.6309 MB / 4.166 GB, free: 131.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.563e-06/13.47, allocations: 3.5 kB / 4.166 GB, free: 131.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/13.65, allocations: 75.45 MB / 4.239 GB, free: 65.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/13.65, allocations: 250.2 kB / 4.24 GB, free: 65.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.36/20.01, allocations: 0 / 4.24 GB, free: 65.32 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u.fmu > Buildings_8.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)