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.000966/0.0009659, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4906/0.4906, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 99.44 kB / 415.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.641e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.676/4.817, allocations: 1.885 GB / 2.439 GB, free: 138 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/4.817, allocations: 90.7 kB / 2.439 GB, free: 137.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.212/8.029, allocations: 1.041 GB / 3.48 GB, free: 43.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/8.029, allocations: 0 / 3.48 GB, free: 43.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002713/8.03, allocations: 42.34 kB / 3.48 GB, free: 43.59 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.006388/8.036, allocations: 2.075 MB / 3.482 GB, free: 41.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/8.036, allocations: 8.031 kB / 3.482 GB, free: 41.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/8.04, allocations: 0.6247 MB / 3.482 GB, free: 40.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/8.044, allocations: 1.449 MB / 3.484 GB, free: 39.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/8.044, allocations: 114.3 kB / 3.484 GB, free: 39.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/8.045, allocations: 82.72 kB / 3.484 GB, free: 39.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001695/8.046, allocations: 0.977 MB / 3.485 GB, free: 38.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/8.048, allocations: 1.2 MB / 3.486 GB, free: 36.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/8.048, allocations: 4 kB / 3.486 GB, free: 36.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/8.048, allocations: 3.953 kB / 3.486 GB, free: 36.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/8.048, allocations: 42.27 kB / 3.486 GB, free: 36.87 MB / 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.00896/8.057, allocations: 5.758 MB / 3.492 GB, free: 30.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/8.058, allocations: 0.9257 MB / 3.493 GB, free: 29.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/8.059, allocations: 451.3 kB / 3.493 GB, free: 29.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/8.059, allocations: 313.1 kB / 3.493 GB, free: 29.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/8.06, allocations: 0.4935 MB / 3.494 GB, free: 28.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=85): time 3.957e-06/8.06, allocations: 0 / 3.494 GB, free: 28.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87): time 0.004694/8.065, allocations: 2.412 MB / 3.496 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/8.065, allocations: 188.7 kB / 3.496 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/8.066, allocations: 0.9267 MB / 3.497 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/8.066, allocations: 29.7 kB / 3.497 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/8.066, allocations: 0.7469 MB / 3.498 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/8.066, allocations: 291.6 kB / 3.498 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/8.067, allocations: 4 kB / 3.498 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/8.067, allocations: 334 kB / 3.499 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/8.067, allocations: 334.5 kB / 3.499 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/8.068, allocations: 0.5672 MB / 3.499 GB, free: 22.56 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.003436/8.071, allocations: 1.558 MB / 3.501 GB, free: 21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/8.071, allocations: 5.688 kB / 3.501 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001746/8.073, allocations: 1.142 MB / 3.502 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/8.073, allocations: 1.464 MB / 3.504 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/8.073, allocations: 4 kB / 3.504 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/8.073, allocations: 48.84 kB / 3.504 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/8.074, allocations: 207.7 kB / 3.504 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002957/8.074, allocations: 0.5953 MB / 3.504 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/8.076, allocations: 127.8 kB / 3.505 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/8.076, allocations: 39.98 kB / 3.505 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/8.076, allocations: 5.094 kB / 3.505 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/8.077, allocations: 0.9562 MB / 3.505 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/8.077, allocations: 4 kB / 3.505 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001125/8.077, allocations: 52.77 kB / 3.506 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/8.078, allocations: 207.9 kB / 3.506 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/8.079, allocations: 1.544 MB / 3.507 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/8.081, allocations: 123.9 kB / 3.507 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/8.081, allocations: 40.22 kB / 3.507 GB, free: 14.19 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 () * 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.0002209/8.081, allocations: 170.3 kB / 3.508 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00149/8.082, allocations: 1.038 MB / 3.509 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/8.083, allocations: 146.2 kB / 3.509 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/8.084, allocations: 1.101 MB / 3.51 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/8.084, allocations: 11.84 kB / 3.51 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/8.084, allocations: 0 / 3.51 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/8.086, allocations: 0.9801 MB / 3.511 GB, free: 10.68 MB / 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 postOpt removeSimpleEquations (simulation): time 0.003913/8.09, allocations: 2.757 MB / 3.513 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/8.09, allocations: 4 kB / 3.513 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/8.09, allocations: 188.3 kB / 3.514 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/8.091, allocations: 44.84 kB / 3.514 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/8.091, allocations: 19.98 kB / 3.514 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002753/8.091, allocations: 0.5913 MB / 3.514 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/8.091, allocations: 4 kB / 3.514 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/8.093, allocations: 1.977 MB / 3.516 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/8.094, allocations: 327.2 kB / 3.517 GB, free: 4.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/8.094, allocations: 12 kB / 3.517 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/8.095, allocations: 127.7 kB / 3.517 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/8.095, allocations: 68.31 kB / 3.517 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/8.095, allocations: 39.98 kB / 3.517 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008161/8.096, allocations: 0.703 MB / 3.517 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/8.096, allocations: 0 / 3.517 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002316/8.098, allocations: 0.8279 MB / 3.518 GB, free: 2.668 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) * 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.006204/8.105, allocations: 6.054 MB / 3.524 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0026/8.107, allocations: 1.642 MB / 3.526 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/8.107, allocations: 4 kB / 3.526 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007985/8.108, allocations: 0.5055 MB / 3.526 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/8.112, allocations: 0.7007 MB / 3.527 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/8.12, allocations: 2.909 MB / 3.53 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/8.121, allocations: 1.369 MB / 3.531 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002132/8.123, allocations: 461.3 kB / 3.532 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/8.124, allocations: 0.6047 MB / 3.532 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/8.124, allocations: 3.938 kB / 3.532 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4412/8.565, allocations: 56.37 MB / 3.587 GB, free: 77.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/8.566, allocations: 160.2 kB / 3.587 GB, free: 77.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.847/12.41, allocations: 7.781 kB / 3.587 GB, free: 77.12 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)