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: 103.3 kB / 16.4 MB, free: 6.492 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.001296/0.001296, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.296/1.296, 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.6856/0.6856, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 72.12 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1438, allocations: 76.17 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5171/0.661, allocations: 169.4 MB / 0.797 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006622/0.6677, allocations: 7.135 MB / 0.804 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.6682, allocations: 15.94 kB / 0.804 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.6688, allocations: 177.5 kB / 0.8042 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.6716, allocations: 1.26 MB / 0.8054 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.6732, allocations: 0.6282 MB / 0.806 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.674, allocations: 0.7578 MB / 0.8068 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.6746, allocations: 296.6 kB / 0.8071 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.676, allocations: 0.5715 MB / 0.8076 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008463/0.6769, allocations: 428.4 kB / 0.808 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.677, allocations: 27.83 kB / 0.8081 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.6791, allocations: 1.239 MB / 0.8093 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.6793, allocations: 121.2 kB / 0.8094 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.6795, allocations: 173.8 kB / 0.8095 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.6812, allocations: 0.9121 MB / 0.8104 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6812, allocations: 0 / 0.8104 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6812, allocations: 0 / 0.8104 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.6813, allocations: 0 / 0.8104 GB, free: 10.41 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.001212/0.6825, allocations: 0.6926 MB / 0.8111 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6825, allocations: 13.38 kB / 0.8111 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.181e-05/0.6826, allocations: 63.41 kB / 0.8112 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6836, allocations: 130.4 kB / 0.8113 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.6843, allocations: 338 kB / 0.8116 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.6844, allocations: 50.3 kB / 0.8117 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.6844, allocations: 32.59 kB / 0.8117 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.685, allocations: 365.3 kB / 0.8121 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6851, allocations: 3.938 kB / 0.8121 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.6851, allocations: 12.72 kB / 0.8121 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6851, allocations: 7.812 kB / 0.8121 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.6856, allocations: 277.8 kB / 0.8123 GB, free: 9.227 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.001979/0.6876, allocations: 1.482 MB / 0.8138 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.6879, allocations: 189.5 kB / 0.814 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.6882, allocations: 124.2 kB / 0.8141 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009503/0.6891, allocations: 0.509 MB / 0.8146 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6892, allocations: 37.86 kB / 0.8146 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.6892, allocations: 0 / 0.8146 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000879/0.6901, allocations: 348.5 kB / 0.815 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6901, allocations: 57.84 kB / 0.815 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.6904, allocations: 318 kB / 0.8153 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.6904, allocations: 28.45 kB / 0.8153 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.6906, allocations: 185.3 kB / 0.8155 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.6906, allocations: 51.58 kB / 0.8156 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.6907, allocations: 41.08 kB / 0.8156 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6908, allocations: 340.2 kB / 0.8159 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.691, allocations: 93.7 kB / 0.816 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.6912, allocations: 147.6 kB / 0.8162 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.6916, allocations: 243 kB / 0.8164 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6916, allocations: 0 / 0.8164 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005355/0.6922, allocations: 291.5 kB / 0.8167 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6922, allocations: 5.094 kB / 0.8167 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6922, allocations: 2.75 kB / 0.8167 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.6922, allocations: 2.219 kB / 0.8167 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.6924, allocations: 38.69 kB / 0.8167 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.6925, allocations: 6.688 kB / 0.8167 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.6927, allocations: 29.09 kB / 0.8168 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.6927, allocations: 17.3 kB / 0.8168 GB, free: 6.215 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.0001441/0.6929, allocations: 152.9 kB / 0.8169 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.693, allocations: 30.62 kB / 0.8169 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.6936, allocations: 320.2 kB / 0.8173 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6936, allocations: 2.125 kB / 0.8173 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6936, allocations: 0 / 0.8173 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6937, allocations: 0 / 0.8173 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.6949, allocations: 0.8114 MB / 0.818 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6949, allocations: 2.125 kB / 0.818 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.6951, allocations: 35.47 kB / 0.8181 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6951, allocations: 2.906 kB / 0.8181 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.6951, allocations: 10.66 kB / 0.8181 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.6951, allocations: 8.25 kB / 0.8181 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6951, allocations: 3.094 kB / 0.8181 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.6957, allocations: 395.9 kB / 0.8185 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.6959, allocations: 141.2 kB / 0.8186 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.6959, allocations: 10.31 kB / 0.8186 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.6962, allocations: 15.39 kB / 0.8186 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.6962, allocations: 18.11 kB / 0.8187 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.6963, allocations: 11.77 kB / 0.8187 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002195/0.6965, allocations: 221.9 kB / 0.8189 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6965, allocations: 0 / 0.8189 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005294/0.697, allocations: 117.1 kB / 0.819 GB, free: 4.703 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.001444/0.6985, allocations: 1.064 MB / 0.82 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004873/0.699, allocations: 222.9 kB / 0.8202 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.699, allocations: 0 / 0.8202 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.6992, allocations: 119.5 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.0007954/0.7, allocations: 160.9 kB / 0.8205 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.7041, allocations: 3.041 MB / 0.8235 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.7044, allocations: 0.7859 MB / 0.8243 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002859/0.7047, allocations: 92.11 kB / 0.8243 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.7049, allocations: 99.12 kB / 0.8244 GB, free: 448 kB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.7049, allocations: 0 / 0.8244 GB, free: 448 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.7343, allocations: 10.65 MB / 0.8348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.747, allocations: 5.953 kB / 0.8348 GB, free: 11.08 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)