Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8393/0.8393, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 180.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 97.72 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 279.8 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.502e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4773, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.937/5.415, allocations: 1.848 GB / 2.606 GB, free: 210.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.415, allocations: 91 kB / 2.606 GB, free: 210.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.293/7.708, allocations: 0.5987 GB / 3.205 GB, free: 134.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/7.708, allocations: 0 / 3.205 GB, free: 134.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.941e-05/7.708, allocations: 19.41 kB / 3.205 GB, free: 134.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002815/7.711, allocations: 1.036 MB / 3.206 GB, free: 133.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/7.711, allocations: 10.81 kB / 3.206 GB, free: 133.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/7.712, allocations: 223.4 kB / 3.206 GB, free: 133.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/7.715, allocations: 0.8831 MB / 3.207 GB, free: 132.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/7.715, allocations: 13.84 kB / 3.207 GB, free: 132.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/7.715, allocations: 25.44 kB / 3.207 GB, free: 132.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005601/7.715, allocations: 337 kB / 3.207 GB, free: 132.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/7.716, allocations: 442.5 kB / 3.207 GB, free: 132.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/7.716, allocations: 3.594 kB / 3.207 GB, free: 132.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/7.716, allocations: 3.562 kB / 3.207 GB, free: 132.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/7.716, allocations: 12.78 kB / 3.207 GB, free: 132.3 MB / 0.698 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.002423/7.718, allocations: 2.06 MB / 3.209 GB, free: 130.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/7.719, allocations: 234.7 kB / 3.21 GB, free: 129.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/7.719, allocations: 116.1 kB / 3.21 GB, free: 129.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008811/7.72, allocations: 0.813 MB / 3.211 GB, free: 128.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/7.72, allocations: 188.3 kB / 3.211 GB, free: 128.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.246e-06/7.72, allocations: 0 / 3.211 GB, free: 128.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.003638/7.724, allocations: 0.832 MB / 3.212 GB, free: 127.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/7.724, allocations: 106.8 kB / 3.212 GB, free: 127.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/7.724, allocations: 449.2 kB / 3.212 GB, free: 127.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/7.724, allocations: 32.77 kB / 3.212 GB, free: 127.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/7.725, allocations: 337.3 kB / 3.212 GB, free: 126.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/7.725, allocations: 78.84 kB / 3.213 GB, free: 126.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/7.725, allocations: 0 / 3.213 GB, free: 126.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/7.725, allocations: 370.7 kB / 3.213 GB, free: 126.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/7.725, allocations: 96.7 kB / 3.213 GB, free: 126.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/7.725, allocations: 285.5 kB / 3.213 GB, free: 126 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/7.728, allocations: 0.6567 MB / 3.214 GB, free: 125.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/7.728, allocations: 0 / 3.214 GB, free: 125.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003429/7.732, allocations: 0.8954 MB / 3.215 GB, free: 124.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004396/7.732, allocations: 1.831 MB / 3.217 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/7.732, allocations: 4 kB / 3.217 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/7.732, allocations: 11.95 kB / 3.217 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/7.733, allocations: 83.77 kB / 3.217 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/7.733, allocations: 15.73 kB / 3.217 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/7.733, allocations: 39.67 kB / 3.217 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/7.733, allocations: 20 kB / 3.217 GB, free: 122.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/7.733, allocations: 5.562 kB / 3.217 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/7.736, allocations: 0.813 MB / 3.218 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/7.736, allocations: 7.984 kB / 3.218 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/7.736, allocations: 8 kB / 3.218 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/7.737, allocations: 91.33 kB / 3.218 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/7.737, allocations: 7.938 kB / 3.218 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/7.737, allocations: 35.67 kB / 3.218 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/7.737, allocations: 27.98 kB / 3.218 GB, free: 121.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/7.737, allocations: 117.1 kB / 3.218 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003134/7.74, allocations: 0.7912 MB / 3.219 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/7.74, allocations: 55.3 kB / 3.219 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/7.744, allocations: 0.8005 MB / 3.219 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/7.744, allocations: 4 kB / 3.219 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/7.744, allocations: 4 kB / 3.219 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/7.744, allocations: 3.984 kB / 3.219 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/7.748, allocations: 1.581 MB / 3.221 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/7.748, allocations: 4 kB / 3.221 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/7.748, allocations: 47.91 kB / 3.221 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/7.748, allocations: 4 kB / 3.221 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/7.748, allocations: 4 kB / 3.221 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/7.748, allocations: 4.281 kB / 3.221 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/7.748, allocations: 11.94 kB / 3.221 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/7.751, allocations: 1.074 MB / 3.222 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/7.752, allocations: 168.3 kB / 3.222 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/7.752, allocations: 4 kB / 3.222 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/7.752, allocations: 15.94 kB / 3.222 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/7.752, allocations: 23.97 kB / 3.222 GB, free: 116.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/7.752, allocations: 8 kB / 3.222 GB, free: 116.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004099/7.752, allocations: 347 kB / 3.223 GB, free: 116.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.752, allocations: 7.938 kB / 3.223 GB, free: 116.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001314/7.754, allocations: 375.3 kB / 3.223 GB, free: 115.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006012/7.76, allocations: 3.934 MB / 3.227 GB, free: 112.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008273/7.761, allocations: 442.5 kB / 3.227 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/7.761, allocations: 4.875 kB / 3.227 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/7.761, allocations: 119.6 kB / 3.227 GB, free: 111.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/7.762, allocations: 207.2 kB / 3.228 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/7.766, allocations: 1.67 MB / 3.229 GB, free: 109.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/7.767, allocations: 0.9102 MB / 3.23 GB, free: 108.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007477/7.767, allocations: 200.3 kB / 3.23 GB, free: 108.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/7.768, allocations: 191.4 kB / 3.23 GB, free: 108.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.133e-06/7.768, allocations: 0 / 3.23 GB, free: 108.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04872/7.816, allocations: 24.33 MB / 3.254 GB, free: 84.35 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/7.816, allocations: 190.4 kB / 3.254 GB, free: 84.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/10.69, allocations: 0 / 3.254 GB, free: 84.16 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)