Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6473/0.6473, allocations: 91.97 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.1 MB / 354.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 104.2 kB / 427.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 8 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1595, allocations: 72.31 MB / 0.5689 GB, free: 1.602 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/4.891, allocations: 1.886 GB / 2.455 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/4.892, allocations: 96.14 kB / 2.455 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.585/8.477, allocations: 1.053 GB / 3.508 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/8.477, allocations: 0 / 3.508 GB, free: 59.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001883/8.477, allocations: 49.3 kB / 3.508 GB, free: 59.11 MB / 0.6198 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.006134/8.483, allocations: 2.379 MB / 3.51 GB, free: 57.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/8.483, allocations: 12.73 kB / 3.51 GB, free: 57.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004209/8.484, allocations: 179.1 kB / 3.51 GB, free: 57.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/8.488, allocations: 0.6263 MB / 3.511 GB, free: 56.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/8.491, allocations: 1.455 MB / 3.512 GB, free: 55.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/8.492, allocations: 160.4 kB / 3.512 GB, free: 55.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/8.492, allocations: 130.3 kB / 3.513 GB, free: 55.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/8.495, allocations: 1.475 MB / 3.514 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/8.495, allocations: 2.953 kB / 3.514 GB, free: 54.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/8.495, allocations: 55.2 kB / 3.514 GB, free: 54.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/8.495, allocations: 39.33 kB / 3.514 GB, free: 54.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/8.497, allocations: 1.253 MB / 3.515 GB, free: 54.27 MB / 0.6198 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.008522/8.506, allocations: 6.009 MB / 3.521 GB, free: 49.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/8.508, allocations: 1.123 MB / 3.522 GB, free: 48.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/8.508, allocations: 309.1 kB / 3.523 GB, free: 47.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/8.509, allocations: 0.6238 MB / 3.523 GB, free: 47.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 3.477e-06/8.509, allocations: 0 / 3.523 GB, free: 47.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87): time 0.007627/8.517, allocations: 3.471 MB / 3.527 GB, free: 43.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/8.517, allocations: 192.6 kB / 3.527 GB, free: 43.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/8.519, allocations: 1.137 MB / 3.528 GB, free: 42.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/8.519, allocations: 49.7 kB / 3.528 GB, free: 42.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005766/8.52, allocations: 0.7365 MB / 3.529 GB, free: 41.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/8.52, allocations: 296.5 kB / 3.529 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/8.52, allocations: 16 kB / 3.529 GB, free: 41.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/8.52, allocations: 345.9 kB / 3.529 GB, free: 40.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008376/8.521, allocations: 445.7 kB / 3.53 GB, free: 40.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/8.522, allocations: 0.684 MB / 3.53 GB, free: 39.75 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start (sin.p = humDyn.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/8.534, allocations: 2.885 MB / 3.533 GB, free: 36.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/8.534, allocations: 4 kB / 3.533 GB, free: 36.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003385/8.538, allocations: 1.358 MB / 3.534 GB, free: 35.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000492/8.538, allocations: 1.478 MB / 3.536 GB, free: 33.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/8.538, allocations: 7.938 kB / 3.536 GB, free: 33.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/8.538, allocations: 56.27 kB / 3.536 GB, free: 33.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/8.539, allocations: 207.8 kB / 3.536 GB, free: 33.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004186/8.54, allocations: 0.5952 MB / 3.537 GB, free: 32.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/8.542, allocations: 147.8 kB / 3.537 GB, free: 32.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/8.542, allocations: 47.98 kB / 3.537 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/8.542, allocations: 4 kB / 3.537 GB, free: 32.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/8.545, allocations: 1.225 MB / 3.538 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/8.545, allocations: 10.25 kB / 3.538 GB, free: 31.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/8.545, allocations: 52.78 kB / 3.538 GB, free: 31.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/8.546, allocations: 203.8 kB / 3.538 GB, free: 31.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/8.548, allocations: 1.603 MB / 3.54 GB, free: 29.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/8.55, allocations: 155.8 kB / 3.54 GB, free: 29.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/8.55, allocations: 36 kB / 3.54 GB, free: 29.35 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: humDyn.vol.dynBal.medium.p = humDyn.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (99): * Single equations (assignments): 97 * 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.001209/8.551, allocations: 0.4993 MB / 3.541 GB, free: 28.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/8.552, allocations: 158.1 kB / 3.541 GB, free: 28.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/8.554, allocations: 1.354 MB / 3.542 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/8.554, allocations: 8 kB / 3.542 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/8.555, allocations: 0 / 3.542 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002028/8.557, allocations: 1.218 MB / 3.543 GB, free: 26.04 MB / 0.6198 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.006355/8.563, allocations: 3.129 MB / 3.546 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/8.563, allocations: 7.656 kB / 3.546 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/8.564, allocations: 195.9 kB / 3.547 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001467/8.564, allocations: 44.84 kB / 3.547 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.482e-05/8.564, allocations: 27.98 kB / 3.547 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002963/8.564, allocations: 0.6068 MB / 3.547 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/8.565, allocations: 4 kB / 3.547 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/8.568, allocations: 2.324 MB / 3.549 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/8.569, allocations: 351 kB / 3.55 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/8.57, allocations: 27.98 kB / 3.55 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/8.571, allocations: 139.7 kB / 3.55 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/8.572, allocations: 64.39 kB / 3.55 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.474e-05/8.572, allocations: 35.98 kB / 3.55 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001641/8.573, allocations: 0.8887 MB / 3.551 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.31e-07/8.573, allocations: 0 / 3.551 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00413/8.577, allocations: 0.9451 MB / 3.552 GB, free: 16.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.medium.Xi[1],humDyn.vol.dynBal.U,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 (78): * Single equations (assignments): 76 * 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.008084/8.586, allocations: 6.153 MB / 3.558 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003775/8.589, allocations: 1.956 MB / 3.56 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/8.589, allocations: 8.062 kB / 3.56 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/8.591, allocations: 0.632 MB / 3.56 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/8.595, allocations: 0.81 MB / 3.561 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/8.619, allocations: 12.46 MB / 3.573 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/8.621, allocations: 1.367 MB / 3.575 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002298/8.623, allocations: 370.9 kB / 3.575 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/8.625, allocations: 0.6321 MB / 3.576 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of SimCode: time 1.213e-06/8.625, allocations: 0 / 3.576 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5656/9.19, allocations: 75.91 MB / 3.65 GB, free: 77.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/9.19, allocations: 241.8 kB / 3.65 GB, free: 77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.802/13.99, allocations: 0 / 3.65 GB, free: 77 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)