Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 220.3 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.079/2.079, allocations: 0.5046 GB / 0.8104 GB, free: 2.711 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 70.08 kB / 1.177 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3339, allocations: 180 MB / 1.352 GB, free: 9.164 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1343/0.4681, allocations: 149.5 MB / 1.498 GB, free: 3.082 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.005584/0.4737, allocations: 6.527 MB / 1.505 GB, free: 12.54 MB / 1.198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.474, allocations: 15.88 kB / 1.505 GB, free: 12.52 MB / 1.198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.4745, allocations: 178.7 kB / 1.505 GB, free: 12.35 MB / 1.198 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.4766, allocations: 1.288 MB / 1.506 GB, free: 11.05 MB / 1.198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.4776, allocations: 0.6435 MB / 1.507 GB, free: 10.41 MB / 1.198 GB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.4782, allocations: 0.7406 MB / 1.508 GB, free: 9.668 MB / 1.198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.4785, allocations: 223.3 kB / 1.508 GB, free: 9.449 MB / 1.198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4796, allocations: 0.7357 MB / 1.509 GB, free: 8.711 MB / 1.198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.4803, allocations: 434.5 kB / 1.509 GB, free: 8.285 MB / 1.198 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.4803, allocations: 28 kB / 1.509 GB, free: 8.258 MB / 1.198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4815, allocations: 1.04 MB / 1.51 GB, free: 7.215 MB / 1.198 GB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.4816, allocations: 123.6 kB / 1.51 GB, free: 7.094 MB / 1.198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.4817, allocations: 143.4 kB / 1.51 GB, free: 6.953 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008073/0.4826, allocations: 0.8644 MB / 1.511 GB, free: 6.086 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4826, allocations: 3.938 kB / 1.511 GB, free: 6.082 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.634e-06/0.4826, allocations: 0 / 1.511 GB, free: 6.082 MB / 1.198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4826, allocations: 0 / 1.511 GB, free: 6.082 MB / 1.198 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.0006741/0.4832, allocations: 0.6191 MB / 1.512 GB, free: 5.434 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4833, allocations: 20.8 kB / 1.512 GB, free: 5.414 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.4833, allocations: 62.55 kB / 1.512 GB, free: 5.344 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.4839, allocations: 139.5 kB / 1.512 GB, free: 5.207 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.4843, allocations: 271.5 kB / 1.512 GB, free: 4.918 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.791e-05/0.4844, allocations: 76.06 kB / 1.512 GB, free: 4.828 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4844, allocations: 24 kB / 1.512 GB, free: 4.805 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.4848, allocations: 404.9 kB / 1.513 GB, free: 4.383 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4848, allocations: 0 / 1.513 GB, free: 4.383 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.4849, allocations: 8 kB / 1.513 GB, free: 4.375 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4849, allocations: 11.98 kB / 1.513 GB, free: 4.363 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.4852, allocations: 273.7 kB / 1.513 GB, free: 4.094 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4863, allocations: 1.136 MB / 1.514 GB, free: 2.902 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.4865, allocations: 194.5 kB / 1.514 GB, free: 2.703 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4866, allocations: 108.8 kB / 1.514 GB, free: 2.594 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.487, allocations: 131.8 kB / 1.514 GB, free: 2.465 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.487, allocations: 34.56 kB / 1.515 GB, free: 2.422 MB / 1.198 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.487, allocations: 4 kB / 1.515 GB, free: 2.418 MB / 1.198 GB Notification: Performance of matching and sorting (n=15): time 0.0005644/0.4876, allocations: 363.5 kB / 1.515 GB, free: 2.059 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4876, allocations: 51.41 kB / 1.515 GB, free: 1.996 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.4878, allocations: 320.4 kB / 1.515 GB, free: 1.676 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4878, allocations: 29.7 kB / 1.515 GB, free: 1.641 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.4879, allocations: 184.4 kB / 1.515 GB, free: 1.457 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.488, allocations: 51.53 kB / 1.515 GB, free: 1.406 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.488, allocations: 49.7 kB / 1.516 GB, free: 1.352 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.4881, allocations: 338.8 kB / 1.516 GB, free: 1.012 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4882, allocations: 87.92 kB / 1.516 GB, free: 0.9258 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4884, allocations: 223 kB / 1.516 GB, free: 0.668 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.4886, allocations: 238.9 kB / 1.516 GB, free: 424 kB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4886, allocations: 4 kB / 1.516 GB, free: 420 kB / 1.198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000327/0.489, allocations: 280.5 kB / 1.517 GB, free: 136 kB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.489, allocations: 11.94 kB / 1.517 GB, free: 124 kB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.489, allocations: 192 / 1.517 GB, free: 124 kB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.489, allocations: 8 kB / 1.517 GB, free: 116 kB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4891, allocations: 43.91 kB / 1.517 GB, free: 72 kB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4891, allocations: 3.938 kB / 1.517 GB, free: 68 kB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.4892, allocations: 31.83 kB / 1.517 GB, free: 36 kB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.4892, allocations: 12 kB / 1.517 GB, free: 24 kB / 1.198 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.0001133/0.4894, allocations: 158.2 kB / 1.517 GB, free: 15.86 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.4894, allocations: 27.81 kB / 1.517 GB, free: 15.83 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.4899, allocations: 316 kB / 1.517 GB, free: 15.52 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4899, allocations: 0 / 1.517 GB, free: 15.52 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4899, allocations: 0 / 1.517 GB, free: 15.52 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4899, allocations: 7.984 kB / 1.517 GB, free: 15.51 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.4907, allocations: 0.7412 MB / 1.518 GB, free: 14.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4907, allocations: 8.031 kB / 1.518 GB, free: 14.69 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.4908, allocations: 39.91 kB / 1.518 GB, free: 14.65 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4908, allocations: 3.938 kB / 1.518 GB, free: 14.64 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4908, allocations: 12 kB / 1.518 GB, free: 14.63 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.4908, allocations: 4 kB / 1.518 GB, free: 14.63 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4908, allocations: 4 kB / 1.518 GB, free: 14.62 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.4911, allocations: 412 kB / 1.518 GB, free: 14.19 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.4912, allocations: 55.78 kB / 1.518 GB, free: 14.13 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.4912, allocations: 3.938 kB / 1.518 GB, free: 14.13 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4913, allocations: 19.98 kB / 1.519 GB, free: 14.11 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4914, allocations: 19.91 kB / 1.519 GB, free: 14.09 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.4914, allocations: 8 kB / 1.519 GB, free: 14.08 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.0001374/0.4915, allocations: 227 kB / 1.519 GB, free: 13.86 MB / 1.214 GB Notification: Performance of sort global known variables: time 5e-08/0.4915, allocations: 0 / 1.519 GB, free: 13.86 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.0003151/0.4918, allocations: 119.7 kB / 1.519 GB, free: 13.75 MB / 1.214 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.0007676/0.4926, allocations: 1.05 MB / 1.52 GB, free: 12.64 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.4929, allocations: 215.7 kB / 1.52 GB, free: 12.43 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4929, allocations: 0 / 1.52 GB, free: 12.43 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.493, allocations: 120.2 kB / 1.52 GB, free: 12.32 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.4935, allocations: 145.3 kB / 1.52 GB, free: 12.17 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.4959, allocations: 3.034 MB / 1.523 GB, free: 8.984 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.496, allocations: 179.6 kB / 1.523 GB, free: 8.789 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.000158/0.4962, allocations: 90.8 kB / 1.524 GB, free: 8.695 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4963, allocations: 99.41 kB / 1.524 GB, free: 8.598 MB / 1.214 GB Notification: Performance of SimCode: time 6.42e-07/0.4963, allocations: 0 / 1.524 GB, free: 8.598 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/0.5769, allocations: 11.51 MB / 1.535 GB, free: 13.37 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.505, allocations: 0.9375 kB / 1.535 GB, free: 13.37 MB / 1.229 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ../Buildings_13_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.028500000014901]