Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.0008436/0.0008436, allocations: 80.45 kB / 19.96 MB, free: 4.594 MB / 18.57 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.001328/0.001328, allocations: 173.2 kB / 23.24 MB, free: 1.316 MB / 18.57 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 0.9483/0.9483, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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 1.936/1.936, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/1.125e-05, allocations: 6.219 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.001956/0.001968, allocations: 1.957 MB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003468, allocations: 1.301 MB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.003542, allocations: 3.938 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.004033, allocations: 246.9 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.004644, allocations: 454.3 kB / 1.005 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.746e-06/0.004653, allocations: 0 / 1.005 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.004907, allocations: 402.3 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.004954, allocations: 24.56 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.005081, allocations: 187.5 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.005237, allocations: 191.4 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.00526, allocations: 23.94 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.005589, allocations: 275.6 kB / 1.006 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.00581, allocations: 407 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.005982, allocations: 271.3 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000944/0.006926, allocations: 1.156 MB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006928, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006929, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.006935, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.00106/0.007994, allocations: 1.191 MB / 1.009 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.008034, allocations: 17.33 kB / 1.009 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.008075, allocations: 50.75 kB / 1.009 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.00841, allocations: 152.2 kB / 1.009 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.01093, allocations: 4.228 MB / 1.013 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.01095, allocations: 12.38 kB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.01097, allocations: 16.31 kB / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.01168, allocations: 0.6361 MB / 1.014 GB, free: 256 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.01169, allocations: 192 / 1.014 GB, free: 256 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.01171, allocations: 12.12 kB / 1.014 GB, free: 244 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.01171, allocations: 4 kB / 1.014 GB, free: 240 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.0125, allocations: 1.101 MB / 1.015 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.01457, allocations: 3.018 MB / 1.018 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.01501, allocations: 334.7 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.01522, allocations: 220.8 kB / 1.018 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.01525, allocations: 19.98 kB / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.01526, allocations: 38.56 kB / 1.018 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 1.012e-06/0.01526, allocations: 4 kB / 1.018 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0007246/0.01599, allocations: 0.7218 MB / 1.019 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.01601, allocations: 51.41 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.02046, allocations: 6.513 MB / 1.025 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.02048, allocations: 33.64 kB / 1.025 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.0207, allocations: 424.5 kB / 1.026 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.02074, allocations: 63.44 kB / 1.026 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.0208, allocations: 57.64 kB / 1.026 GB, free: 3.539 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.02087, allocations: 318 kB / 1.026 GB, free: 3.223 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.02125, allocations: 0.5271 MB / 1.027 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.02164, allocations: 0.5561 MB / 1.027 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/0.02244, allocations: 0.769 MB / 1.028 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.02244, allocations: 0 / 1.028 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008878/0.02333, allocations: 1.231 MB / 1.029 GB, free: 124 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.02334, allocations: 4 kB / 1.029 GB, free: 120 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.02335, allocations: 7.969 kB / 1.029 GB, free: 112 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.02336, allocations: 4 kB / 1.029 GB, free: 108 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.02353, allocations: 71.89 kB / 1.029 GB, free: 36 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.02353, allocations: 0 / 1.029 GB, free: 36 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.02374, allocations: 51.81 kB / 1.029 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.02375, allocations: 11.94 kB / 1.029 GB, free: 15.97 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0001947/0.02395, allocations: 277.6 kB / 1.03 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.02403, allocations: 95.39 kB / 1.03 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.02458, allocations: 0.5644 MB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02459, allocations: 4 kB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.02459, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.02459, allocations: 0 / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.0265, allocations: 2.673 MB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.0265, allocations: 4 kB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.02662, allocations: 55.89 kB / 1.033 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.02662, allocations: 11.94 kB / 1.033 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.02663, allocations: 4 kB / 1.033 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.02664, allocations: 15.92 kB / 1.033 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.02664, allocations: 4 kB / 1.033 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.02718, allocations: 0.6705 MB / 1.034 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.02735, allocations: 199.1 kB / 1.034 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.02742, allocations: 15.94 kB / 1.034 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.02762, allocations: 31.97 kB / 1.034 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.02765, allocations: 27.91 kB / 1.034 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.02766, allocations: 12 kB / 1.034 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003071/0.03073, allocations: 5.164 MB / 1.039 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.03073, allocations: 0 / 1.039 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003548/0.03109, allocations: 187.9 kB / 1.039 GB, free: 5.758 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0008676/0.03195, allocations: 1.29 MB / 1.04 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006464/0.0326, allocations: 0.7689 MB / 1.041 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0326, allocations: 3.938 kB / 1.041 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.03307, allocations: 228.1 kB / 1.041 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.0336, allocations: 199.8 kB / 1.041 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4193/0.4529, allocations: 22.91 MB / 1.064 GB, free: 98.28 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.4531, allocations: 402.9 kB / 1.064 GB, free: 98.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002699/0.4534, allocations: 145.4 kB / 1.064 GB, free: 98.13 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.4536, allocations: 305.8 kB / 1.065 GB, free: 97.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.333e-06/0.4536, allocations: 0 / 1.065 GB, free: 97.93 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/0.5807, allocations: 25.31 MB / 1.089 GB, free: 94.91 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.97/7.551, allocations: 7.734 kB / 1.089 GB, free: 94.91 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu) > Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu) > Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.234090717509389]