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.7868/0.7868, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 172.6 kB / 164.6 MB, free: 11.59 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.793/1.793, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.001049/0.001049, allocations: 90.69 kB / 476.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.962e-05, allocations: 5.656 kB / 0.5467 GB, free: 95.37 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 76.77 MB / 0.6216 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.116, allocations: 2.164 GB / 2.785 GB, free: 184.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/6.116, allocations: 92.44 kB / 2.786 GB, free: 184.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.838/9.954, allocations: 1.019 GB / 3.805 GB, free: 84.93 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.593e-06/9.954, allocations: 0 / 3.805 GB, free: 84.93 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001776/9.954, allocations: 57.36 kB / 3.805 GB, free: 84.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.0044/9.959, allocations: 2.066 MB / 3.807 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/9.959, allocations: 9.594 kB / 3.807 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/9.962, allocations: 0.5988 MB / 3.807 GB, free: 83.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/9.966, allocations: 1.588 MB / 3.809 GB, free: 83.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/9.966, allocations: 38.03 kB / 3.809 GB, free: 83.59 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/9.966, allocations: 85.27 kB / 3.809 GB, free: 83.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001789/9.968, allocations: 0.9347 MB / 3.81 GB, free: 83.58 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/9.97, allocations: 1.184 MB / 3.811 GB, free: 83.38 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/9.97, allocations: 3.938 kB / 3.811 GB, free: 83.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/9.97, allocations: 2.5 kB / 3.811 GB, free: 83.38 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/9.97, allocations: 46 kB / 3.811 GB, free: 83.38 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.007867/9.978, allocations: 5.536 MB / 3.816 GB, free: 80.96 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/9.979, allocations: 0.8394 MB / 3.817 GB, free: 80.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004847/9.98, allocations: 399.2 kB / 3.818 GB, free: 80.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/9.98, allocations: 298.4 kB / 3.818 GB, free: 80.44 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/9.981, allocations: 456.2 kB / 3.818 GB, free: 80.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 5.13e-06/9.981, allocations: 13.89 kB / 3.818 GB, free: 80.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.003331/9.984, allocations: 1.057 MB / 3.819 GB, free: 80.21 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/9.984, allocations: 198.7 kB / 3.82 GB, free: 79.99 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/9.985, allocations: 0.8964 MB / 3.82 GB, free: 79.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/9.986, allocations: 25.7 kB / 3.82 GB, free: 79.81 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/9.986, allocations: 0.7777 MB / 3.821 GB, free: 79.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/9.986, allocations: 259.9 kB / 3.821 GB, free: 79.46 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/9.987, allocations: 0 / 3.821 GB, free: 79.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/9.987, allocations: 338.3 kB / 3.822 GB, free: 79.15 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/9.987, allocations: 296 kB / 3.822 GB, free: 79.15 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/9.988, allocations: 0.5461 MB / 3.823 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/9.988, allocations: 417.6 kB / 3.823 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/9.988, allocations: 2.719 kB / 3.823 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002666/9.991, allocations: 1.136 MB / 3.824 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004448/9.992, allocations: 1.729 MB / 3.826 GB, free: 76.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/9.992, allocations: 2.625 kB / 3.826 GB, free: 76.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/9.992, allocations: 62.2 kB / 3.826 GB, free: 76.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/9.993, allocations: 178.4 kB / 3.826 GB, free: 76.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003906/9.993, allocations: 0.5973 MB / 3.827 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/9.995, allocations: 132.8 kB / 3.827 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/9.995, allocations: 40.69 kB / 3.827 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/9.995, allocations: 3.625 kB / 3.827 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/9.996, allocations: 0.961 MB / 3.828 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/9.996, allocations: 6.438 kB / 3.828 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.944e-05/9.996, allocations: 41.75 kB / 3.828 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/9.997, allocations: 161 kB / 3.828 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/9.998, allocations: 1.495 MB / 3.829 GB, free: 74.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/10, allocations: 102.2 kB / 3.83 GB, free: 74.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/10, allocations: 37.88 kB / 3.83 GB, free: 74.92 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.0003052/10, allocations: 173.9 kB / 3.83 GB, free: 74.77 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002266/10, allocations: 0.9906 MB / 3.831 GB, free: 74.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/10, allocations: 144.8 kB / 3.831 GB, free: 74.57 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/10.01, allocations: 1.057 MB / 3.832 GB, free: 74.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/10.01, allocations: 9.312 kB / 3.832 GB, free: 74.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/10.01, allocations: 3.141 kB / 3.832 GB, free: 74.47 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002032/10.01, allocations: 0.963 MB / 3.833 GB, free: 74.29 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.005272/10.01, allocations: 2.47 MB / 3.835 GB, free: 73.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/10.01, allocations: 3.5 kB / 3.835 GB, free: 73.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007589/10.01, allocations: 154 kB / 3.835 GB, free: 73.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/10.01, allocations: 49.89 kB / 3.835 GB, free: 73.83 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/10.01, allocations: 16.91 kB / 3.835 GB, free: 73.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/10.02, allocations: 1.654 MB / 3.837 GB, free: 72.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/10.02, allocations: 3.625 kB / 3.837 GB, free: 72.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/10.02, allocations: 1.748 MB / 3.839 GB, free: 72 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/10.02, allocations: 326.5 kB / 3.839 GB, free: 71.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/10.02, allocations: 3.969 kB / 3.839 GB, free: 71.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/10.02, allocations: 88.56 kB / 3.839 GB, free: 71.82 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/10.02, allocations: 55.19 kB / 3.839 GB, free: 71.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/10.02, allocations: 34.98 kB / 3.839 GB, free: 71.82 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00105/10.02, allocations: 0.6864 MB / 3.84 GB, free: 71.71 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/10.02, allocations: 3.031 kB / 3.84 GB, free: 71.71 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002997/10.03, allocations: 0.9549 MB / 3.841 GB, free: 71.57 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.006806/10.03, allocations: 5.35 MB / 3.846 GB, free: 69.31 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002245/10.03, allocations: 1.513 MB / 3.848 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/10.03, allocations: 0 / 3.848 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/10.03, allocations: 0.5775 MB / 3.848 GB, free: 68.89 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/10.04, allocations: 0.6776 MB / 3.849 GB, free: 68.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/10.05, allocations: 2.789 MB / 3.852 GB, free: 68.12 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/10.05, allocations: 1.374 MB / 3.853 GB, free: 67.4 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002175/10.05, allocations: 455.1 kB / 3.853 GB, free: 67.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/10.05, allocations: 0.6078 MB / 3.854 GB, free: 67.38 MB / 0.6667 GB Notification: Performance of SimCode: time 1.573e-06/10.05, allocations: 0 / 3.854 GB, free: 67.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/10.16, allocations: 56.72 MB / 3.909 GB, free: 64.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/10.16, allocations: 182.9 kB / 3.909 GB, free: 64.03 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.584/14.74, allocations: 4 kB / 3.909 GB, free: 64.03 MB / 0.6667 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)