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.001031/0.001031, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4864/0.4864, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.309/1.309, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008336, allocations: 98.42 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.843e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3838, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.307/4.691, allocations: 1.886 GB / 2.446 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/4.691, allocations: 83.95 kB / 2.446 GB, free: 139.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.314/8.005, allocations: 1.052 GB / 3.498 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.002e-06/8.005, allocations: 0 / 3.498 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002358/8.005, allocations: 47.98 kB / 3.498 GB, free: 7.824 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.0049/8.01, allocations: 2.077 MB / 3.5 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/8.01, allocations: 15.98 kB / 3.5 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004862/8.01, allocations: 177.3 kB / 3.5 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/8.015, allocations: 0.6288 MB / 3.501 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/8.018, allocations: 1.446 MB / 3.502 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/8.018, allocations: 150.3 kB / 3.502 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/8.019, allocations: 127.9 kB / 3.502 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/8.021, allocations: 1.376 MB / 3.504 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/8.021, allocations: 0 / 3.504 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/8.021, allocations: 52 kB / 3.504 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/8.021, allocations: 42.27 kB / 3.504 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/8.023, allocations: 1.048 MB / 3.505 GB, free: 492 kB / 0.6198 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.009264/8.032, allocations: 6.005 MB / 3.511 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/8.033, allocations: 0.959 MB / 3.512 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/8.034, allocations: 478.1 kB / 3.512 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/8.035, allocations: 316 kB / 3.512 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008322/8.035, allocations: 0.5343 MB / 3.513 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 3.527e-06/8.035, allocations: 0 / 3.513 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.005013/8.04, allocations: 2.449 MB / 3.515 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/8.041, allocations: 196.7 kB / 3.516 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/8.042, allocations: 1.11 MB / 3.517 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/8.042, allocations: 45.7 kB / 3.517 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/8.043, allocations: 0.7406 MB / 3.517 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/8.043, allocations: 295.7 kB / 3.518 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/8.043, allocations: 16 kB / 3.518 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000161/8.044, allocations: 341.9 kB / 3.518 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/8.044, allocations: 345.9 kB / 3.518 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/8.045, allocations: 0.5949 MB / 3.519 GB, free: 1.398 MB / 0.6355 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.3832/8.428, allocations: 2.589 MB / 3.521 GB, free: 75.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/8.428, allocations: 0 / 3.521 GB, free: 75.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00221/8.43, allocations: 1.171 MB / 3.523 GB, free: 75.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003353/8.431, allocations: 1.474 MB / 3.524 GB, free: 74.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/8.431, allocations: 4.281 kB / 3.524 GB, free: 74.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/8.431, allocations: 59.72 kB / 3.524 GB, free: 74.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/8.432, allocations: 212.7 kB / 3.524 GB, free: 74.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004192/8.432, allocations: 0.5808 MB / 3.525 GB, free: 73.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/8.434, allocations: 155.5 kB / 3.525 GB, free: 73.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/8.434, allocations: 40.16 kB / 3.525 GB, free: 73.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/8.435, allocations: 2.969 kB / 3.525 GB, free: 73.82 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001755/8.436, allocations: 1.026 MB / 3.526 GB, free: 73.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/8.436, allocations: 3.938 kB / 3.526 GB, free: 73.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/8.436, allocations: 50.78 kB / 3.526 GB, free: 73.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/8.437, allocations: 209.2 kB / 3.526 GB, free: 73.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/8.438, allocations: 1.597 MB / 3.528 GB, free: 72.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/8.44, allocations: 155.2 kB / 3.528 GB, free: 72.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/8.44, allocations: 37.02 kB / 3.528 GB, free: 72.36 MB / 0.6355 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 () * 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.000293/8.44, allocations: 198.6 kB / 3.528 GB, free: 72.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/8.441, allocations: 158.9 kB / 3.528 GB, free: 72.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/8.443, allocations: 1.152 MB / 3.529 GB, free: 72.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/8.443, allocations: 7.656 kB / 3.53 GB, free: 72.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/8.443, allocations: 7.594 kB / 3.53 GB, free: 72.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/8.444, allocations: 1.029 MB / 3.531 GB, free: 71.9 MB / 0.6355 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.004098/8.448, allocations: 2.93 MB / 3.533 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/8.448, allocations: 6 kB / 3.533 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008859/8.449, allocations: 194.2 kB / 3.534 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/8.449, allocations: 53.23 kB / 3.534 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/8.449, allocations: 29.75 kB / 3.534 GB, free: 71.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002715/8.45, allocations: 0.5903 MB / 3.534 GB, free: 70.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.45, allocations: 7.094 kB / 3.534 GB, free: 70.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/8.452, allocations: 2.05 MB / 3.536 GB, free: 70.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/8.453, allocations: 342.8 kB / 3.537 GB, free: 69.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/8.453, allocations: 21.75 kB / 3.537 GB, free: 69.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/8.454, allocations: 143.8 kB / 3.537 GB, free: 69.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/8.454, allocations: 63.86 kB / 3.537 GB, free: 69.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/8.454, allocations: 36.72 kB / 3.537 GB, free: 69.95 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00109/8.455, allocations: 0.8689 MB / 3.538 GB, free: 69.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/8.455, allocations: 0 / 3.538 GB, free: 69.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003244/8.459, allocations: 0.9424 MB / 3.539 GB, free: 69.83 MB / 0.6355 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) * 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.005514/8.464, allocations: 5.867 MB / 3.544 GB, free: 66.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002505/8.467, allocations: 1.725 MB / 3.546 GB, free: 66.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/8.467, allocations: 0 / 3.546 GB, free: 66.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000678/8.467, allocations: 0.534 MB / 3.547 GB, free: 66.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/8.471, allocations: 0.8127 MB / 3.547 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/8.478, allocations: 2.998 MB / 3.55 GB, free: 65.74 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/8.479, allocations: 1.374 MB / 3.552 GB, free: 65.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002223/8.481, allocations: 0.5018 MB / 3.552 GB, free: 65.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/8.482, allocations: 0.6087 MB / 3.553 GB, free: 65 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/8.482, allocations: 0.5 kB / 3.553 GB, free: 65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/8.59, allocations: 83.73 MB / 3.634 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/8.59, allocations: 216.5 kB / 3.635 GB, free: 62.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.917/13.51, allocations: 4 kB / 3.635 GB, free: 62.01 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)