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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 107.2 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7327/0.7327, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 70.7 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6148/0.7644, allocations: 179.4 MB / 0.8068 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009084/0.7735, allocations: 7.847 MB / 0.8144 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008832/0.7745, allocations: 20.53 kB / 0.8144 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000907/0.7755, allocations: 235.6 kB / 0.8147 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.7791, allocations: 1.22 MB / 0.8159 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.7812, allocations: 0.7372 MB / 0.8166 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.7828, allocations: 1.076 MB / 0.8176 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.7836, allocations: 401.5 kB / 0.818 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.7863, allocations: 0.8411 MB / 0.8188 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008953/0.7872, allocations: 438.8 kB / 0.8193 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.7873, allocations: 35.19 kB / 0.8193 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.7893, allocations: 0.9503 MB / 0.8202 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.7896, allocations: 157.7 kB / 0.8204 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004175/0.79, allocations: 250.3 kB / 0.8206 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.7923, allocations: 0.9342 MB / 0.8215 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7923, allocations: 0 / 0.8215 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.637e-06/0.7923, allocations: 3.219 kB / 0.8215 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.238e-05/0.7924, allocations: 3.938 kB / 0.8215 GB, free: 7.52 MB / 0.5919 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.001722/0.7941, allocations: 0.797 MB / 0.8223 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.7942, allocations: 10.16 kB / 0.8223 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.7943, allocations: 78.67 kB / 0.8224 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.7953, allocations: 149.3 kB / 0.8225 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.7961, allocations: 410.3 kB / 0.8229 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.7961, allocations: 27.66 kB / 0.8229 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.7962, allocations: 37.34 kB / 0.823 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.7969, allocations: 449.2 kB / 0.8234 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.797, allocations: 4 kB / 0.8234 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.797, allocations: 21 kB / 0.8234 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.797, allocations: 7.75 kB / 0.8234 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.7977, allocations: 319 kB / 0.8237 GB, free: 5.871 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002552/0.8002, allocations: 2.014 MB / 0.8257 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.8007, allocations: 240.9 kB / 0.8259 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.801, allocations: 145.3 kB / 0.8261 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.8016, allocations: 313.4 kB / 0.8264 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.8016, allocations: 34.56 kB / 0.8264 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.604e-06/0.8017, allocations: 0 / 0.8264 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001104/0.8028, allocations: 460.1 kB / 0.8269 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.8028, allocations: 54.16 kB / 0.8269 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.8033, allocations: 393.5 kB / 0.8273 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.8033, allocations: 28.7 kB / 0.8273 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.8035, allocations: 230.9 kB / 0.8275 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.8036, allocations: 90.22 kB / 0.8276 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.8037, allocations: 60.61 kB / 0.8277 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8039, allocations: 352.1 kB / 0.828 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.8041, allocations: 113.7 kB / 0.8281 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.8044, allocations: 184 kB / 0.8283 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.8049, allocations: 304.8 kB / 0.8286 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8049, allocations: 0 / 0.8286 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006757/0.8056, allocations: 360.8 kB / 0.8289 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.8056, allocations: 7.281 kB / 0.8289 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8056, allocations: 3.031 kB / 0.8289 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.8057, allocations: 6.094 kB / 0.8289 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.8059, allocations: 57.41 kB / 0.829 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.806, allocations: 2.781 kB / 0.829 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.8062, allocations: 47.8 kB / 0.829 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.8063, allocations: 17.89 kB / 0.8291 GB, free: 1.625 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.8065, allocations: 170.6 kB / 0.8292 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/0.8066, allocations: 38.19 kB / 0.8293 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.8073, allocations: 369.2 kB / 0.8296 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8073, allocations: 2.25 kB / 0.8296 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.8074, allocations: 3.031 kB / 0.8296 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.8074, allocations: 4.031 kB / 0.8296 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.8089, allocations: 0.9395 MB / 0.8305 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8089, allocations: 1.812 kB / 0.8305 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.8091, allocations: 54.12 kB / 0.8306 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.8092, allocations: 6.875 kB / 0.8306 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.8092, allocations: 6.562 kB / 0.8306 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.8092, allocations: 8.531 kB / 0.8306 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.8092, allocations: 2.906 kB / 0.8306 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/0.8102, allocations: 0.6359 MB / 0.8312 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.8104, allocations: 151.2 kB / 0.8314 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.8105, allocations: 8.781 kB / 0.8314 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.8107, allocations: 9.562 kB / 0.8314 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.8108, allocations: 22.19 kB / 0.8314 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.8108, allocations: 10.84 kB / 0.8314 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002874/0.8111, allocations: 276.2 kB / 0.8317 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8111, allocations: 2.469 kB / 0.8317 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004682/0.8116, allocations: 111.9 kB / 0.8318 GB, free: 15.69 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/0.8132, allocations: 1.257 MB / 0.833 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006116/0.8138, allocations: 280 kB / 0.8333 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8138, allocations: 4.375 kB / 0.8333 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.8141, allocations: 154.5 kB / 0.8335 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8152, allocations: 218.6 kB / 0.8337 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.8201, allocations: 3.79 MB / 0.8374 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.8206, allocations: 0.8347 MB / 0.8382 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.821, allocations: 98.36 kB / 0.8383 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.8212, allocations: 137.1 kB / 0.8384 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.8212, allocations: 0 / 0.8384 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.857, allocations: 11.87 MB / 0.85 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.796, allocations: 4.594 kB / 0.85 GB, free: 1.348 MB / 0.6075 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/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)