Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.0009682/0.0009682, allocations: 182.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4775/0.4775, allocations: 90.8 MB / 104.5 MB, free: 13.88 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.377/1.377, allocations: 221.3 MB / 348.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009407, allocations: 104 kB / 421.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.277e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 72.29 MB / 0.5603 GB, free: 6.312 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.156/4.298, allocations: 1.866 GB / 2.427 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/4.299, allocations: 87.95 kB / 2.427 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.435/5.734, allocations: 442.4 MB / 2.859 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.71e-07/5.734, allocations: 0 / 2.859 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.273e-05/5.734, allocations: 19.98 kB / 2.859 GB, free: 44.52 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001534/5.736, allocations: 0.8416 MB / 2.86 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/5.736, allocations: 15.98 kB / 2.86 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.333e-05/5.736, allocations: 70.53 kB / 2.86 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/5.737, allocations: 155.7 kB / 2.86 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/5.738, allocations: 0.692 MB / 2.86 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/5.738, allocations: 28.78 kB / 2.861 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/5.738, allocations: 40 kB / 2.861 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/5.739, allocations: 415.2 kB / 2.861 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/5.739, allocations: 4 kB / 2.861 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/5.739, allocations: 16 kB / 2.861 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/5.739, allocations: 8 kB / 2.861 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/5.739, allocations: 271 kB / 2.861 GB, free: 41.86 MB / 0.6042 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.001897/5.741, allocations: 1.999 MB / 2.863 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/5.742, allocations: 210.4 kB / 2.863 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/5.742, allocations: 116.8 kB / 2.863 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005598/5.742, allocations: 307.2 kB / 2.864 GB, free: 39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/5.742, allocations: 30.56 kB / 2.864 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/5.742, allocations: 0 / 2.864 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0005982/5.743, allocations: 295.4 kB / 2.864 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/5.743, allocations: 59.34 kB / 2.864 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/5.743, allocations: 343.2 kB / 2.864 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/5.743, allocations: 33.7 kB / 2.865 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/5.743, allocations: 235.9 kB / 2.865 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/5.743, allocations: 78.81 kB / 2.865 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/5.743, allocations: 4 kB / 2.865 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/5.744, allocations: 358.8 kB / 2.865 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/5.744, allocations: 87.97 kB / 2.865 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/5.744, allocations: 174.2 kB / 2.865 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/5.744, allocations: 119.9 kB / 2.866 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/5.744, allocations: 0 / 2.866 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003909/5.744, allocations: 316.9 kB / 2.866 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/5.744, allocations: 4.938 kB / 2.866 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/5.744, allocations: 4 kB / 2.866 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/5.744, allocations: 7.938 kB / 2.866 GB, free: 36.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/5.745, allocations: 55.97 kB / 2.866 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/5.745, allocations: 3.938 kB / 2.866 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/5.745, allocations: 75.59 kB / 2.866 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/5.745, allocations: 12 kB / 2.866 GB, free: 36.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 7.324e-05/5.745, allocations: 120.9 kB / 2.866 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/5.745, allocations: 43.52 kB / 2.866 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/5.746, allocations: 312.9 kB / 2.866 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/5.746, allocations: 4 kB / 2.866 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/5.746, allocations: 0 / 2.866 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/5.746, allocations: 0 / 2.866 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/5.747, allocations: 0.8837 MB / 2.867 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/5.747, allocations: 4 kB / 2.867 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/5.747, allocations: 43.97 kB / 2.867 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/5.747, allocations: 4 kB / 2.867 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/5.747, allocations: 11.95 kB / 2.867 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/5.747, allocations: 7.938 kB / 2.867 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.747, allocations: 4 kB / 2.867 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/5.748, allocations: 0.6382 MB / 2.868 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/5.748, allocations: 152.5 kB / 2.868 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/5.748, allocations: 8 kB / 2.868 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/5.748, allocations: 28.03 kB / 2.868 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/5.748, allocations: 15.98 kB / 2.868 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/5.748, allocations: 8 kB / 2.868 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002054/5.748, allocations: 277.2 kB / 2.868 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/5.748, allocations: 4 kB / 2.868 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001007/5.749, allocations: 259.8 kB / 2.869 GB, free: 33.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.002872/5.752, allocations: 3.073 MB / 2.872 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003568/5.753, allocations: 239.7 kB / 2.872 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/5.753, allocations: 0 / 2.872 GB, free: 30.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/5.753, allocations: 124.6 kB / 2.872 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/5.754, allocations: 218.5 kB / 2.872 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/5.755, allocations: 0.6946 MB / 2.873 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/5.755, allocations: 0.8392 MB / 2.874 GB, free: 28.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002834/5.756, allocations: 91.36 kB / 2.874 GB, free: 28.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/5.756, allocations: 139.4 kB / 2.874 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/5.756, allocations: 0 / 2.874 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4195/6.175, allocations: 38.55 MB / 2.912 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/6.175, allocations: 194.8 kB / 2.912 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/9.242, allocations: 1.438 kB / 2.912 GB, free: 104.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)