Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7207/0.7207, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 183.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.1 MB / 404.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000902/0.000902, allocations: 94.14 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.123e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1811, allocations: 76.76 MB / 0.6282 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.722/5.903, allocations: 2.164 GB / 2.793 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/5.903, allocations: 94.61 kB / 2.793 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.075/9.979, allocations: 1.03 GB / 3.823 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.655e-06/9.979, allocations: 0 / 3.823 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001806/9.979, allocations: 49.84 kB / 3.823 GB, free: 75.93 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.00511/9.984, allocations: 2.071 MB / 3.825 GB, free: 74.89 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/9.984, allocations: 10.39 kB / 3.825 GB, free: 74.89 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/9.984, allocations: 178 kB / 3.825 GB, free: 74.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/9.988, allocations: 0.6021 MB / 3.826 GB, free: 74.74 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004026/9.992, allocations: 1.587 MB / 3.827 GB, free: 74.31 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/9.992, allocations: 98.27 kB / 3.827 GB, free: 74.31 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/9.993, allocations: 117 kB / 3.827 GB, free: 74.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/9.995, allocations: 1.392 MB / 3.829 GB, free: 74.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/9.996, allocations: 7.219 kB / 3.829 GB, free: 74.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/9.996, allocations: 51.59 kB / 3.829 GB, free: 74.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/9.996, allocations: 41.86 kB / 3.829 GB, free: 74.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/9.998, allocations: 1.04 MB / 3.83 GB, free: 74.08 MB / 0.6667 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.008289/10.01, allocations: 5.782 MB / 3.836 GB, free: 71.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/10.01, allocations: 0.912 MB / 3.836 GB, free: 71.32 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/10.01, allocations: 417.3 kB / 3.837 GB, free: 71.31 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/10.01, allocations: 300.1 kB / 3.837 GB, free: 71.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/10.01, allocations: 0.5069 MB / 3.838 GB, free: 70.94 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 3.997e-06/10.01, allocations: 0 / 3.838 GB, free: 70.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.003291/10.01, allocations: 1.096 MB / 3.839 GB, free: 70.76 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/10.01, allocations: 195.3 kB / 3.839 GB, free: 70.54 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/10.01, allocations: 1.095 MB / 3.84 GB, free: 70.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/10.01, allocations: 44.39 kB / 3.84 GB, free: 70.35 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/10.02, allocations: 0.7595 MB / 3.841 GB, free: 70.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/10.02, allocations: 267.7 kB / 3.841 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/10.02, allocations: 20.16 kB / 3.841 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/10.02, allocations: 343.8 kB / 3.841 GB, free: 69.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/10.02, allocations: 312.4 kB / 3.842 GB, free: 69.61 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/10.02, allocations: 0.5554 MB / 3.842 GB, free: 69.35 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/10.02, allocations: 412.1 kB / 3.843 GB, free: 69.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/10.02, allocations: 3.906 kB / 3.843 GB, free: 69.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002546/10.02, allocations: 1.167 MB / 3.844 GB, free: 69.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004396/10.02, allocations: 1.745 MB / 3.845 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/10.02, allocations: 7.5 kB / 3.845 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/10.02, allocations: 53.58 kB / 3.845 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/10.02, allocations: 175.5 kB / 3.846 GB, free: 67.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004141/10.02, allocations: 0.5974 MB / 3.846 GB, free: 66.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/10.02, allocations: 160.2 kB / 3.846 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/10.02, allocations: 39.3 kB / 3.846 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/10.02, allocations: 3.469 kB / 3.846 GB, free: 66.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/10.03, allocations: 1.024 MB / 3.847 GB, free: 66.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/10.03, allocations: 10.72 kB / 3.847 GB, free: 66.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/10.03, allocations: 41.64 kB / 3.847 GB, free: 66.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/10.03, allocations: 159.6 kB / 3.848 GB, free: 66.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/10.03, allocations: 1.562 MB / 3.849 GB, free: 65.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/10.03, allocations: 143.1 kB / 3.849 GB, free: 65.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/10.03, allocations: 36.55 kB / 3.849 GB, free: 65.07 MB / 0.6667 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.0003186/10.03, allocations: 187.2 kB / 3.849 GB, free: 64.92 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/10.03, allocations: 157.2 kB / 3.85 GB, free: 64.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/10.03, allocations: 1.113 MB / 3.851 GB, free: 64.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/10.03, allocations: 7.25 kB / 3.851 GB, free: 64.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/10.03, allocations: 4.094 kB / 3.851 GB, free: 64.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001941/10.03, allocations: 0.9827 MB / 3.852 GB, free: 64.48 MB / 0.6667 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.005884/10.04, allocations: 2.658 MB / 3.854 GB, free: 63.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/10.04, allocations: 5.469 kB / 3.854 GB, free: 63.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/10.04, allocations: 151.4 kB / 3.854 GB, free: 63.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/10.04, allocations: 51.62 kB / 3.854 GB, free: 63.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/10.04, allocations: 23.44 kB / 3.855 GB, free: 63.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/10.04, allocations: 1.711 MB / 3.856 GB, free: 62.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/10.04, allocations: 0 / 3.856 GB, free: 62.53 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/10.05, allocations: 1.804 MB / 3.858 GB, free: 61.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/10.05, allocations: 340.9 kB / 3.858 GB, free: 61.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/10.05, allocations: 14.75 kB / 3.858 GB, free: 61.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/10.05, allocations: 115.9 kB / 3.858 GB, free: 61.63 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/10.05, allocations: 57.77 kB / 3.858 GB, free: 61.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/10.05, allocations: 31.47 kB / 3.858 GB, free: 61.61 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001558/10.05, allocations: 0.8555 MB / 3.859 GB, free: 61.26 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.7e-07/10.05, allocations: 0 / 3.859 GB, free: 61.26 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004302/10.06, allocations: 1.036 MB / 3.86 GB, free: 60.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 67 * 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.007419/10.06, allocations: 5.162 MB / 3.865 GB, free: 58.17 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002673/10.07, allocations: 1.589 MB / 3.867 GB, free: 57.42 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/10.07, allocations: 2.688 kB / 3.867 GB, free: 57.42 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/10.07, allocations: 0.5978 MB / 3.868 GB, free: 57.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/10.07, allocations: 0.7861 MB / 3.868 GB, free: 56.92 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007931/10.08, allocations: 2.882 MB / 3.871 GB, free: 55.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/10.08, allocations: 1.374 MB / 3.872 GB, free: 55.07 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002486/10.08, allocations: 0.498 MB / 3.873 GB, free: 54.98 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/10.08, allocations: 0.61 MB / 3.874 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of SimCode: time 9.01e-07/10.08, allocations: 0 / 3.874 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6393/10.72, allocations: 84 MB / 3.956 GB, free: 94.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/10.72, allocations: 219.2 kB / 3.956 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.521/16.24, allocations: 4.188 kB / 3.956 GB, free: 94.48 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Examples_Humidifier_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Examples.Humidifier_u.pipe 2>&1)