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.001103/0.001103, allocations: 102.7 kB / 16.4 MB, free: 6.508 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.001219/0.001219, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6886/0.6886, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 62.55 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1405, allocations: 76.19 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5179/0.6585, allocations: 167.5 MB / 0.7952 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006208/0.6647, allocations: 6.539 MB / 0.8016 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005632/0.6653, allocations: 12.25 kB / 0.8016 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005634/0.666, allocations: 172.3 kB / 0.8017 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.668, allocations: 0.839 MB / 0.8026 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.6689, allocations: 327.9 kB / 0.8029 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.6696, allocations: 0.715 MB / 0.8036 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.67, allocations: 277.1 kB / 0.8038 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.6711, allocations: 0.5589 MB / 0.8044 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.6715, allocations: 277.9 kB / 0.8047 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.6716, allocations: 19.72 kB / 0.8047 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.6722, allocations: 341 kB / 0.805 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.6724, allocations: 104.3 kB / 0.8051 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.6725, allocations: 165.2 kB / 0.8053 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.6732, allocations: 474.7 kB / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6732, allocations: 0 / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6732, allocations: 0 / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.6732, allocations: 2.031 kB / 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.0009131/0.6742, allocations: 0.6195 MB / 0.8063 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.6742, allocations: 10.12 kB / 0.8063 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.098e-05/0.6743, allocations: 60.36 kB / 0.8064 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.6746, allocations: 58.83 kB / 0.8064 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.6751, allocations: 330.1 kB / 0.8068 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.6751, allocations: 17.41 kB / 0.8068 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.6752, allocations: 24.19 kB / 0.8068 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.6756, allocations: 322.6 kB / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6757, allocations: 0 / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.6757, allocations: 8.969 kB / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6757, allocations: 7.812 kB / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.6761, allocations: 204 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.001346/0.6774, allocations: 1.53 MB / 0.8088 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.6777, allocations: 124.9 kB / 0.8089 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.6778, allocations: 91.34 kB / 0.809 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.6784, allocations: 308.8 kB / 0.8093 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.6785, allocations: 30.56 kB / 0.8093 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.6785, allocations: 2.75 kB / 0.8093 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006965/0.6792, allocations: 270.8 kB / 0.8096 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.6792, allocations: 57.75 kB / 0.8096 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.6795, allocations: 315.9 kB / 0.8099 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.6795, allocations: 31.64 kB / 0.81 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6796, allocations: 175.4 kB / 0.8101 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.6797, allocations: 47.61 kB / 0.8102 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.6797, allocations: 38.95 kB / 0.8102 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6799, allocations: 340.5 kB / 0.8106 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.68, allocations: 58.98 kB / 0.8106 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.6802, allocations: 115.1 kB / 0.8107 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.6804, allocations: 173.1 kB / 0.8109 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6805, allocations: 3.938 kB / 0.8109 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003651/0.6808, allocations: 219.1 kB / 0.8111 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6809, allocations: 14.14 kB / 0.8111 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6809, allocations: 2.688 kB / 0.8111 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.6809, allocations: 6.062 kB / 0.8111 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6811, allocations: 36.95 kB / 0.8112 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6811, allocations: 2.531 kB / 0.8112 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.6812, allocations: 33.17 kB / 0.8112 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.6813, allocations: 4.938 kB / 0.8112 GB, free: 7.719 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.0001288/0.6814, allocations: 159.7 kB / 0.8113 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.6815, allocations: 24.44 kB / 0.8114 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.6818, allocations: 210.9 kB / 0.8116 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6819, allocations: 2.094 kB / 0.8116 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6819, allocations: 0 / 0.8116 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6819, allocations: 0 / 0.8116 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.6827, allocations: 0.6895 MB / 0.8122 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6828, allocations: 224 / 0.8122 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6829, allocations: 30.77 kB / 0.8123 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.6829, allocations: 2 kB / 0.8123 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.6829, allocations: 9.703 kB / 0.8123 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6829, allocations: 10.75 kB / 0.8123 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6829, allocations: 2.5 kB / 0.8123 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.6833, allocations: 328.9 kB / 0.8126 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.96e-05/0.6834, allocations: 118.1 kB / 0.8127 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.6835, allocations: 5.344 kB / 0.8127 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6836, allocations: 17.45 kB / 0.8127 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.6837, allocations: 9.094 kB / 0.8128 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.6837, allocations: 12.95 kB / 0.8128 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001799/0.6839, allocations: 217.5 kB / 0.813 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6839, allocations: 0 / 0.813 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003479/0.6842, allocations: 73.5 kB / 0.813 GB, free: 6.527 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.0008824/0.6851, allocations: 0.9306 MB / 0.814 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.6855, allocations: 165.5 kB / 0.8141 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6855, allocations: 0 / 0.8141 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6857, allocations: 85.95 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.0007308/0.6864, allocations: 159.1 kB / 0.8143 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.6893, allocations: 2.79 MB / 0.8171 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.6897, allocations: 0.7833 MB / 0.8178 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.6898, allocations: 58.03 kB / 0.8179 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.69, allocations: 88.66 kB / 0.818 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.69, allocations: 4 kB / 0.818 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.7165, allocations: 8.252 MB / 0.826 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.495, allocations: 11.84 kB / 0.826 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)