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.646/2.646, allocations: 284.9 MB / 292.4 MB, free: 10.63 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.001478/0.001477, allocations: 176.9 kB / 360.6 MB, free: 7.316 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.086/2.086, allocations: 205.2 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 95.31 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.973e-05, allocations: 8 kB / 0.8508 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8347, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.076/6.91, allocations: 2.086 GB / 3.05 GB, free: 31.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/6.911, allocations: 88.58 kB / 3.05 GB, free: 31.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.597/12.51, allocations: 1.025 GB / 4.075 GB, free: 104.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.314e-06/12.51, allocations: 0 / 4.075 GB, free: 104.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002413/12.51, allocations: 47.91 kB / 4.075 GB, free: 104.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.006007/12.51, allocations: 2.06 MB / 4.077 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/12.51, allocations: 8.031 kB / 4.077 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/12.52, allocations: 0.6142 MB / 4.077 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/12.53, allocations: 1.434 MB / 4.079 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006328/12.53, allocations: 123.8 kB / 4.079 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/12.53, allocations: 72 kB / 4.079 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00267/12.53, allocations: 0.9731 MB / 4.08 GB, free: 99.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/12.53, allocations: 1.196 MB / 4.081 GB, free: 97.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/12.53, allocations: 4 kB / 4.081 GB, free: 97.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/12.53, allocations: 3.953 kB / 4.081 GB, free: 97.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-05/12.53, allocations: 50.2 kB / 4.081 GB, free: 97.74 MB / 0.948 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.01234/12.54, allocations: 5.759 MB / 4.087 GB, free: 91.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/12.55, allocations: 0.8794 MB / 4.088 GB, free: 90.76 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/12.55, allocations: 423.7 kB / 4.088 GB, free: 90.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/12.55, allocations: 316 kB / 4.088 GB, free: 89.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/12.55, allocations: 481.4 kB / 4.089 GB, free: 89.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=79): time 4.198e-06/12.55, allocations: 0 / 4.089 GB, free: 89.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=79): time 0.003607/12.55, allocations: 1.019 MB / 4.09 GB, free: 88.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/12.55, allocations: 188.7 kB / 4.09 GB, free: 88.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/12.55, allocations: 0.9333 MB / 4.091 GB, free: 87.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/12.55, allocations: 33.69 kB / 4.091 GB, free: 87.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/12.56, allocations: 0.7588 MB / 4.092 GB, free: 86.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/12.56, allocations: 268 kB / 4.092 GB, free: 86.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/12.56, allocations: 3.938 kB / 4.092 GB, free: 86.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/12.56, allocations: 340.8 kB / 4.092 GB, free: 85.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/12.56, allocations: 318.5 kB / 4.092 GB, free: 85.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/12.56, allocations: 0.5599 MB / 4.093 GB, free: 84.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/12.56, allocations: 440.2 kB / 4.093 GB, free: 84.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/12.56, allocations: 0 / 4.093 GB, free: 84.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003143/12.56, allocations: 1.114 MB / 4.094 GB, free: 83.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003773/12.56, allocations: 1.723 MB / 4.096 GB, free: 81.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/12.56, allocations: 8 kB / 4.096 GB, free: 81.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/12.56, allocations: 48.84 kB / 4.096 GB, free: 81.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/12.56, allocations: 203.7 kB / 4.096 GB, free: 81.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004929/12.56, allocations: 0.5993 MB / 4.097 GB, free: 80.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/12.57, allocations: 155.3 kB / 4.097 GB, free: 80.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/12.57, allocations: 39.98 kB / 4.097 GB, free: 80.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/12.57, allocations: 4 kB / 4.097 GB, free: 80.45 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/12.57, allocations: 0.9325 MB / 4.098 GB, free: 79.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/12.57, allocations: 4 kB / 4.098 GB, free: 79.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/12.57, allocations: 49.27 kB / 4.098 GB, free: 79.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/12.57, allocations: 203.7 kB / 4.098 GB, free: 79.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/12.57, allocations: 1.536 MB / 4.1 GB, free: 77.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/12.58, allocations: 151.4 kB / 4.1 GB, free: 77.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/12.58, allocations: 36 kB / 4.1 GB, free: 77.41 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 () * 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.000366/12.58, allocations: 169 kB / 4.1 GB, free: 77.23 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002869/12.58, allocations: 0.9829 MB / 4.101 GB, free: 76.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/12.58, allocations: 150.3 kB / 4.101 GB, free: 76.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/12.58, allocations: 1.035 MB / 4.102 GB, free: 75.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/12.58, allocations: 8 kB / 4.102 GB, free: 75.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/12.58, allocations: 3.953 kB / 4.102 GB, free: 75.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002378/12.59, allocations: 0.9448 MB / 4.103 GB, free: 74.05 MB / 0.948 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.007209/12.59, allocations: 2.576 MB / 4.106 GB, free: 71.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/12.59, allocations: 0 / 4.106 GB, free: 71.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/12.6, allocations: 180 kB / 4.106 GB, free: 71.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/12.6, allocations: 40.84 kB / 4.106 GB, free: 71.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/12.6, allocations: 15.98 kB / 4.106 GB, free: 71.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000424/12.6, allocations: 0.5913 MB / 4.107 GB, free: 70.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/12.6, allocations: 0 / 4.107 GB, free: 70.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/12.6, allocations: 1.792 MB / 4.108 GB, free: 68.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/12.6, allocations: 342.3 kB / 4.109 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/12.6, allocations: 8 kB / 4.109 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/12.6, allocations: 127.9 kB / 4.109 GB, free: 68.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/12.6, allocations: 52.39 kB / 4.109 GB, free: 68.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/12.6, allocations: 35.98 kB / 4.109 GB, free: 68.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001462/12.61, allocations: 0.7033 MB / 4.11 GB, free: 67.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.41e-07/12.61, allocations: 0 / 4.11 GB, free: 67.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004263/12.61, allocations: 0.9664 MB / 4.11 GB, free: 66.38 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) * 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.008621/12.62, allocations: 5.414 MB / 4.116 GB, free: 60.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003653/12.62, allocations: 1.579 MB / 4.117 GB, free: 59.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/12.62, allocations: 8 kB / 4.117 GB, free: 59.08 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/12.62, allocations: 489.3 kB / 4.118 GB, free: 58.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006119/12.63, allocations: 0.7019 MB / 4.118 GB, free: 57.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/12.64, allocations: 2.842 MB / 4.121 GB, free: 54.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/12.64, allocations: 1.369 MB / 4.123 GB, free: 53.56 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003698/12.65, allocations: 455 kB / 4.123 GB, free: 53.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/12.65, allocations: 0.5969 MB / 4.124 GB, free: 52.52 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/12.65, allocations: 0 / 4.124 GB, free: 52.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/12.8, allocations: 55.84 MB / 4.178 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003514/12.8, allocations: 177.7 kB / 4.178 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.367/18.17, allocations: 0 / 4.178 GB, free: 12.61 MB / 0.9636 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)