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.001309/0.001309, allocations: 114 kB / 16.41 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.001356/0.001356, allocations: 189.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.367/1.367, 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.7848/0.7848, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002037, allocations: 69.33 kB / 0.5736 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1612, allocations: 78.86 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5205/0.6818, allocations: 169.5 MB / 0.816 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00759/0.6894, allocations: 7.131 MB / 0.823 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005564/0.69, allocations: 13.97 kB / 0.823 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.6906, allocations: 164.2 kB / 0.8232 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.6938, allocations: 1.27 MB / 0.8244 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.6955, allocations: 0.6197 MB / 0.825 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009559/0.6964, allocations: 0.7576 MB / 0.8258 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.6969, allocations: 296.7 kB / 0.826 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.6985, allocations: 0.715 MB / 0.8267 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007994/0.6993, allocations: 414.8 kB / 0.8271 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.6994, allocations: 25.66 kB / 0.8272 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.7015, allocations: 1.241 MB / 0.8284 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.7017, allocations: 117.6 kB / 0.8285 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.7019, allocations: 180.3 kB / 0.8287 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.7033, allocations: 0.9054 MB / 0.8295 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7033, allocations: 0 / 0.8295 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7033, allocations: 0 / 0.8295 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.7033, allocations: 0 / 0.8295 GB, free: 5.355 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.001002/0.7043, allocations: 0.7063 MB / 0.8302 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7044, allocations: 9.906 kB / 0.8302 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.068e-05/0.7044, allocations: 64.75 kB / 0.8303 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.7054, allocations: 135.5 kB / 0.8304 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.7059, allocations: 339.3 kB / 0.8308 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/0.706, allocations: 54.72 kB / 0.8308 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.7061, allocations: 31.72 kB / 0.8308 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.7067, allocations: 361.4 kB / 0.8312 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7067, allocations: 0 / 0.8312 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.7067, allocations: 10.81 kB / 0.8312 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.7068, allocations: 10.81 kB / 0.8312 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.7073, allocations: 286 kB / 0.8315 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.709, allocations: 1.484 MB / 0.8329 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.7094, allocations: 189.5 kB / 0.8331 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.7096, allocations: 125.3 kB / 0.8332 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/0.7106, allocations: 0.5018 MB / 0.8337 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.7106, allocations: 38.48 kB / 0.8338 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7106, allocations: 0 / 0.8338 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009027/0.7115, allocations: 361.6 kB / 0.8341 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.7116, allocations: 57.25 kB / 0.8342 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.7119, allocations: 316.3 kB / 0.8345 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.7119, allocations: 32.73 kB / 0.8345 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7121, allocations: 183.3 kB / 0.8347 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.7121, allocations: 54.78 kB / 0.8347 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.114e-05/0.7122, allocations: 43.55 kB / 0.8348 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7124, allocations: 345.9 kB / 0.8351 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.7126, allocations: 93.34 kB / 0.8352 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.7128, allocations: 141.9 kB / 0.8353 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.7132, allocations: 240.5 kB / 0.8355 GB, free: 416 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7133, allocations: 0 / 0.8355 GB, free: 416 kB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005734/0.7138, allocations: 290.8 kB / 0.8358 GB, free: 252 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7139, allocations: 7.031 kB / 0.8358 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7139, allocations: 0.7031 kB / 0.8358 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7139, allocations: 3.094 kB / 0.8358 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.7141, allocations: 43.94 kB / 0.8359 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.7141, allocations: 7.156 kB / 0.8359 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.7143, allocations: 21.41 kB / 0.8359 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.7144, allocations: 18.14 kB / 0.8359 GB, free: 216 kB / 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.0001531/0.7145, allocations: 152.1 kB / 0.8361 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.7146, allocations: 30.25 kB / 0.8361 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/0.7153, allocations: 313.5 kB / 0.8364 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7153, allocations: 2.5 kB / 0.8364 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.7153, allocations: 0 / 0.8364 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7153, allocations: 3.938 kB / 0.8364 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.7166, allocations: 0.8146 MB / 0.8372 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7166, allocations: 2.938 kB / 0.8372 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.7168, allocations: 36.34 kB / 0.8372 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7168, allocations: 3.062 kB / 0.8372 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.7168, allocations: 12.44 kB / 0.8372 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.7168, allocations: 6.688 kB / 0.8372 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7168, allocations: 1.969 kB / 0.8372 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.7174, allocations: 399.5 kB / 0.8376 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.7176, allocations: 138.2 kB / 0.8378 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.7176, allocations: 6.781 kB / 0.8378 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.7179, allocations: 18.05 kB / 0.8378 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.7179, allocations: 14.83 kB / 0.8378 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.718, allocations: 11.98 kB / 0.8378 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000208/0.7182, allocations: 222.3 kB / 0.838 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7182, allocations: 0 / 0.838 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004738/0.7187, allocations: 124.7 kB / 0.8381 GB, free: 14.56 MB / 0.6075 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.001344/0.72, allocations: 1.071 MB / 0.8392 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.7205, allocations: 225.1 kB / 0.8394 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7205, allocations: 0 / 0.8394 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.7208, allocations: 118.8 kB / 0.8395 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.7216, allocations: 160.5 kB / 0.8397 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.7254, allocations: 3.057 MB / 0.8427 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.7258, allocations: 0.7832 MB / 0.8434 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.7261, allocations: 90.38 kB / 0.8435 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.7263, allocations: 101.1 kB / 0.8436 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.7263, allocations: 0 / 0.8436 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.7602, allocations: 10.51 MB / 0.8539 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.943, allocations: 2.75 kB / 0.8539 GB, free: 2.363 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)