Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001858/0.001858, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002286/0.002286, allocations: 214.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.049/1.049, allocations: 149.9 MB / 463 MB, free: 10.79 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 63 kB / 0.6411 GB, free: 10.21 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1815, allocations: 89.17 MB / 0.7282 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003353/0.1848, allocations: 1.933 MB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1871, allocations: 1.309 MB / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.1872, allocations: 0 / 0.7313 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006559/0.1878, allocations: 243.4 kB / 0.7316 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009627/0.1888, allocations: 442.5 kB / 0.732 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.484e-06/0.1888, allocations: 0 / 0.732 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1892, allocations: 394.5 kB / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.1893, allocations: 8.594 kB / 0.7324 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1894, allocations: 151.3 kB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1897, allocations: 203.1 kB / 0.7327 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.1897, allocations: 24 kB / 0.7327 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.1902, allocations: 287.6 kB / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/0.1906, allocations: 386.9 kB / 0.7334 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.1909, allocations: 334.2 kB / 0.7337 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.192, allocations: 1.167 MB / 0.7348 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1921, allocations: 0 / 0.7348 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1921, allocations: 0 / 0.7348 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.1921, allocations: 0 / 0.7348 GB, free: 10.26 MB / 0.5606 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.001812/0.1939, allocations: 1.187 MB / 0.736 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1939, allocations: 8.031 kB / 0.736 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.363e-05/0.194, allocations: 54.73 kB / 0.736 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/0.1947, allocations: 152.2 kB / 0.7362 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/0.1994, allocations: 4.221 MB / 0.7403 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1994, allocations: 16.12 kB / 0.7403 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1995, allocations: 12 kB / 0.7403 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009078/0.2004, allocations: 0.6313 MB / 0.741 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2004, allocations: 0 / 0.741 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.2004, allocations: 8 kB / 0.741 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2004, allocations: 8 kB / 0.741 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.2018, allocations: 1.102 MB / 0.7421 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.2057, allocations: 3.002 MB / 0.745 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.2064, allocations: 345.8 kB / 0.7453 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.2068, allocations: 224.7 kB / 0.7455 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.2069, allocations: 19.98 kB / 0.7455 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.2069, allocations: 38.56 kB / 0.7456 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.2069, allocations: 0 / 0.7456 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.0013/0.2082, allocations: 0.7198 MB / 0.7463 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.2083, allocations: 59.33 kB / 0.7463 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007818/0.2161, allocations: 6.501 MB / 0.7527 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.2161, allocations: 29.7 kB / 0.7527 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.2165, allocations: 420.4 kB / 0.7531 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.2166, allocations: 63.44 kB / 0.7532 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.2167, allocations: 61.64 kB / 0.7532 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2169, allocations: 322 kB / 0.7535 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007032/0.2176, allocations: 0.5271 MB / 0.7541 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.2183, allocations: 0.5522 MB / 0.7546 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2194, allocations: 0.781 MB / 0.7554 GB, free: 5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2194, allocations: 0 / 0.7554 GB, free: 5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00169/0.2211, allocations: 1.228 MB / 0.7566 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2211, allocations: 8 kB / 0.7566 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2211, allocations: 0 / 0.7566 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2211, allocations: 3.984 kB / 0.7566 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.2214, allocations: 67.98 kB / 0.7566 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2215, allocations: 4 kB / 0.7566 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.2219, allocations: 35.83 kB / 0.7567 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2219, allocations: 15.94 kB / 0.7567 GB, free: 3.633 MB / 0.5762 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.0003513/0.2222, allocations: 281.6 kB / 0.757 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.2224, allocations: 91.39 kB / 0.757 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.2234, allocations: 0.5658 MB / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2234, allocations: 0 / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2234, allocations: 0 / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2234, allocations: 0 / 0.7576 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3177/0.5411, allocations: 2.674 MB / 0.7602 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.5411, allocations: 8 kB / 0.7602 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.5414, allocations: 50.78 kB / 0.7603 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.5414, allocations: 6.219 kB / 0.7603 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.5415, allocations: 10.62 kB / 0.7603 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5415, allocations: 8.078 kB / 0.7603 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.5415, allocations: 8.438 kB / 0.7603 GB, free: 36.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/0.5424, allocations: 0.6768 MB / 0.761 GB, free: 35.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.5427, allocations: 191.6 kB / 0.7611 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5429, allocations: 12.16 kB / 0.7612 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.5432, allocations: 24.8 kB / 0.7612 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.5433, allocations: 32.28 kB / 0.7612 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5433, allocations: 12.31 kB / 0.7612 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0037/0.547, allocations: 5.155 MB / 0.7663 GB, free: 35.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.547, allocations: 0 / 0.7663 GB, free: 35.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006934/0.5477, allocations: 191.1 kB / 0.7664 GB, free: 35.74 MB / 0.5762 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.001367/0.549, allocations: 1.286 MB / 0.7677 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.5502, allocations: 0.7641 MB / 0.7684 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5502, allocations: 2.125 kB / 0.7684 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.5506, allocations: 223 kB / 0.7687 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009128/0.5515, allocations: 199.1 kB / 0.7688 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/0.5793, allocations: 22.94 MB / 0.7912 GB, free: 27.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.5798, allocations: 404.8 kB / 0.7916 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004798/0.5802, allocations: 147.5 kB / 0.7918 GB, free: 27.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.5806, allocations: 296.4 kB / 0.7921 GB, free: 26.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.5806, allocations: 0 / 0.7921 GB, free: 26.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.6315, allocations: 25.67 MB / 0.8171 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.72, allocations: 10.94 kB / 0.8171 GB, free: 5.375 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.610432157758623] Failed to read output from testmodel.py, exit status != 0: 12.839586297050118 12.860170294 12.663891465 Calling exit ...