Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001505/0.001505, allocations: 108.3 kB / 16.4 MB, free: 6.484 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.001723/0.001723, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.3 MB / 406.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.23 kB / 0.5572 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1462, allocations: 76.19 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.523/0.6692, allocations: 167.5 MB / 0.7952 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006722/0.676, allocations: 6.533 MB / 0.8016 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007137/0.6767, allocations: 16.03 kB / 0.8016 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.6775, allocations: 171.1 kB / 0.8018 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.68, allocations: 0.8418 MB / 0.8026 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.681, allocations: 331.6 kB / 0.8029 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.6821, allocations: 0.7167 MB / 0.8036 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.6827, allocations: 278.3 kB / 0.8039 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.684, allocations: 0.5546 MB / 0.8044 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.6845, allocations: 266.4 kB / 0.8046 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.353e-05/0.6846, allocations: 25.09 kB / 0.8047 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.6853, allocations: 340.7 kB / 0.805 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.6855, allocations: 104.9 kB / 0.8051 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.6857, allocations: 166 kB / 0.8053 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007544/0.6864, allocations: 472.9 kB / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6865, allocations: 0 / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6865, allocations: 0 / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.6865, allocations: 0 / 0.8057 GB, free: 11.5 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00105/0.6875, allocations: 0.615 MB / 0.8063 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6876, allocations: 14.19 kB / 0.8063 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.6877, allocations: 62.03 kB / 0.8064 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.688, allocations: 60.56 kB / 0.8064 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.6886, allocations: 325.8 kB / 0.8067 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6887, allocations: 21.56 kB / 0.8068 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.6887, allocations: 27.78 kB / 0.8068 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/0.6893, allocations: 316.8 kB / 0.8071 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6894, allocations: 0 / 0.8071 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.6894, allocations: 15.97 kB / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.6894, allocations: 8.25 kB / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.6899, allocations: 201.2 kB / 0.8073 GB, free: 10.55 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.001822/0.6917, allocations: 1.528 MB / 0.8088 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.692, allocations: 125 kB / 0.8089 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6922, allocations: 91.7 kB / 0.809 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.6928, allocations: 305.8 kB / 0.8093 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.6928, allocations: 36.03 kB / 0.8093 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.6928, allocations: 0 / 0.8093 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006957/0.6935, allocations: 264.3 kB / 0.8096 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.6935, allocations: 55.34 kB / 0.8096 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.6938, allocations: 323.9 kB / 0.81 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.6939, allocations: 28.48 kB / 0.81 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.694, allocations: 179.1 kB / 0.8102 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.694, allocations: 48.09 kB / 0.8102 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.6941, allocations: 36.77 kB / 0.8102 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6942, allocations: 335.9 kB / 0.8106 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.6944, allocations: 59.73 kB / 0.8106 GB, free: 8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.6945, allocations: 124.4 kB / 0.8107 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.6948, allocations: 177 kB / 0.8109 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6949, allocations: 3.938 kB / 0.8109 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004253/0.6953, allocations: 218.2 kB / 0.8111 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6953, allocations: 5.688 kB / 0.8111 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6953, allocations: 6.25 kB / 0.8111 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6954, allocations: 2.25 kB / 0.8111 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.6955, allocations: 36.86 kB / 0.8112 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.6956, allocations: 6.891 kB / 0.8112 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.6958, allocations: 25.81 kB / 0.8112 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.6958, allocations: 14.7 kB / 0.8112 GB, free: 7.723 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001526/0.696, allocations: 152.6 kB / 0.8113 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.696, allocations: 24.56 kB / 0.8114 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.6965, allocations: 207.2 kB / 0.8116 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.6965, allocations: 5.719 kB / 0.8116 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6965, allocations: 3.984 kB / 0.8116 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6965, allocations: 0 / 0.8116 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009687/0.6975, allocations: 0.6837 MB / 0.8122 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6975, allocations: 2.094 kB / 0.8122 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.6976, allocations: 30.05 kB / 0.8123 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6976, allocations: 2.469 kB / 0.8123 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.6977, allocations: 6.031 kB / 0.8123 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6977, allocations: 11.16 kB / 0.8123 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6977, allocations: 2.75 kB / 0.8123 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.6981, allocations: 336 kB / 0.8126 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6982, allocations: 111.3 kB / 0.8127 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.6983, allocations: 5.906 kB / 0.8127 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.6984, allocations: 12.64 kB / 0.8127 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.6985, allocations: 18.92 kB / 0.8128 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.6985, allocations: 5.281 kB / 0.8128 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001935/0.6987, allocations: 225.3 kB / 0.813 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6987, allocations: 0 / 0.813 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003792/0.6991, allocations: 73.03 kB / 0.813 GB, free: 6.531 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009621/0.7, allocations: 0.9371 MB / 0.814 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.7004, allocations: 163.1 kB / 0.8141 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7005, allocations: 0 / 0.8141 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.7006, allocations: 82.39 kB / 0.8142 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.7014, allocations: 144.9 kB / 0.8143 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.7046, allocations: 2.803 MB / 0.8171 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.705, allocations: 0.7829 MB / 0.8178 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000206/0.7052, allocations: 60.11 kB / 0.8179 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.7053, allocations: 94.5 kB / 0.818 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7053, allocations: 0 / 0.818 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.7319, allocations: 8.253 MB / 0.826 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.489, allocations: 6.047 kB / 0.8261 GB, free: 14.91 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)