Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.00116/0.00116, allocations: 101.8 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.001165/0.001165, allocations: 195.8 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.314/1.314, 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.6908/0.6908, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.11 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1383, allocations: 76.19 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5081/0.6464, allocations: 169.4 MB / 0.797 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006847/0.6533, allocations: 7.139 MB / 0.804 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/0.6539, allocations: 11.69 kB / 0.804 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.6545, allocations: 175.5 kB / 0.8042 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.6577, allocations: 1.263 MB / 0.8054 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.6594, allocations: 0.6256 MB / 0.806 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.6603, allocations: 0.7638 MB / 0.8068 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.6607, allocations: 286.2 kB / 0.8071 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.6618, allocations: 0.5717 MB / 0.8076 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.6626, allocations: 427 kB / 0.808 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.6627, allocations: 25.56 kB / 0.808 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.6646, allocations: 1.249 MB / 0.8093 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.6647, allocations: 114.1 kB / 0.8094 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.6649, allocations: 177.7 kB / 0.8095 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.6661, allocations: 0.9073 MB / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6661, allocations: 0 / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6661, allocations: 0 / 0.8104 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6661, allocations: 2.219 kB / 0.8104 GB, free: 10.39 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009102/0.667, allocations: 0.6922 MB / 0.8111 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6671, allocations: 9.438 kB / 0.8111 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.347e-05/0.6671, allocations: 69.73 kB / 0.8112 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009138/0.668, allocations: 130 kB / 0.8113 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.6686, allocations: 345.8 kB / 0.8116 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.6686, allocations: 45.64 kB / 0.8117 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.6687, allocations: 27.66 kB / 0.8117 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.6693, allocations: 372.8 kB / 0.8121 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6693, allocations: 3.938 kB / 0.8121 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.6693, allocations: 12.38 kB / 0.8121 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.6693, allocations: 7.969 kB / 0.8121 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.6698, allocations: 273.7 kB / 0.8124 GB, free: 9.211 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.001688/0.6715, allocations: 1.482 MB / 0.8138 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.6719, allocations: 194.3 kB / 0.814 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.6721, allocations: 117.9 kB / 0.8141 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/0.673, allocations: 0.5042 MB / 0.8146 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.673, allocations: 37.75 kB / 0.8146 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.673, allocations: 0 / 0.8146 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000866/0.6739, allocations: 357 kB / 0.815 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.6739, allocations: 53.69 kB / 0.815 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.6742, allocations: 318.6 kB / 0.8153 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.6742, allocations: 29.02 kB / 0.8153 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.6743, allocations: 178.2 kB / 0.8155 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.6744, allocations: 63.97 kB / 0.8156 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.6745, allocations: 45.02 kB / 0.8156 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6746, allocations: 340.2 kB / 0.8159 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.6748, allocations: 81.88 kB / 0.816 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.675, allocations: 147.6 kB / 0.8162 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.6754, allocations: 242.3 kB / 0.8164 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6754, allocations: 6.688 kB / 0.8164 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005271/0.6759, allocations: 280.8 kB / 0.8167 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.676, allocations: 9.266 kB / 0.8167 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.676, allocations: 2.688 kB / 0.8167 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.676, allocations: 2.172 kB / 0.8167 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.6762, allocations: 48.91 kB / 0.8167 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6762, allocations: 2.125 kB / 0.8167 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.6764, allocations: 29.77 kB / 0.8168 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.6765, allocations: 17.3 kB / 0.8168 GB, free: 6.199 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001349/0.6766, allocations: 152.1 kB / 0.8169 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.6767, allocations: 30.81 kB / 0.817 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.6774, allocations: 318.5 kB / 0.8173 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.6774, allocations: 1.812 kB / 0.8173 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6774, allocations: 0 / 0.8173 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6774, allocations: 2.906 kB / 0.8173 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.6786, allocations: 0.8011 MB / 0.818 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6786, allocations: 6.781 kB / 0.818 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.6788, allocations: 37.19 kB / 0.8181 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.6788, allocations: 2.656 kB / 0.8181 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.6788, allocations: 9.125 kB / 0.8181 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.6789, allocations: 3.656 kB / 0.8181 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6789, allocations: 9.719 kB / 0.8181 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.6794, allocations: 399.9 kB / 0.8185 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.6796, allocations: 140.2 kB / 0.8186 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.6796, allocations: 6.781 kB / 0.8186 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.6798, allocations: 22.02 kB / 0.8186 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.6799, allocations: 10.83 kB / 0.8187 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.6799, allocations: 17.22 kB / 0.8187 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001783/0.6801, allocations: 229.9 kB / 0.8189 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6801, allocations: 0 / 0.8189 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004654/0.6806, allocations: 117 kB / 0.819 GB, free: 4.688 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 (16): * Single equations (assignments): 16 * 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.00124/0.6818, allocations: 1.058 MB / 0.82 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.6823, allocations: 213.7 kB / 0.8202 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6823, allocations: 0 / 0.8202 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.6825, allocations: 115 kB / 0.8204 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.6834, allocations: 166.4 kB / 0.8205 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.6869, allocations: 3.043 MB / 0.8235 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.6872, allocations: 0.7891 MB / 0.8243 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002532/0.6875, allocations: 88.81 kB / 0.8243 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.6876, allocations: 95 kB / 0.8244 GB, free: 448 kB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.6876, allocations: 0 / 0.8244 GB, free: 448 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.7161, allocations: 10.65 MB / 0.8348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.569, allocations: 13.42 kB / 0.8348 GB, free: 11.07 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)