Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001131/0.001131, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.001422/0.001422, allocations: 217.2 kB / 22.25 MB, free: 3.57 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 0.9835/0.9835, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03746/0.03746, allocations: 12.19 MB / 324.6 MB, free: 6.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005225/0.0005225, allocations: 39.86 kB / 384.1 MB, free: 10.48 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.73/1.73, allocations: 353.9 MB / 0.7787 GB, free: 4.547 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.002077/0.002077, allocations: 122.4 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2346, allocations: 134.9 MB / 1.192 GB, free: 7.48 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002506/0.2371, allocations: 2.055 MB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.239, allocations: 1.313 MB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.2391, allocations: 0 / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.2396, allocations: 243.3 kB / 1.195 GB, free: 3.852 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007286/0.2403, allocations: 448.9 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 9.067e-06/0.2403, allocations: 0 / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.2406, allocations: 390.5 kB / 1.196 GB, free: 3.031 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.2407, allocations: 12.59 kB / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2408, allocations: 143.4 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.2409, allocations: 203.1 kB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.241, allocations: 24 kB / 1.196 GB, free: 2.652 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.2414, allocations: 287.6 kB / 1.197 GB, free: 2.371 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.2416, allocations: 394.8 kB / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.2418, allocations: 334.2 kB / 1.197 GB, free: 1.656 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009165/0.2428, allocations: 1.167 MB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2428, allocations: 0 / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2428, allocations: 0 / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.2428, allocations: 0 / 1.198 GB, free: 496 kB / 0.823 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.00138/0.2442, allocations: 1.181 MB / 1.2 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2442, allocations: 15.97 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.2442, allocations: 46.73 kB / 1.2 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.2446, allocations: 152.2 kB / 1.2 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.2473, allocations: 4.221 MB / 1.204 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2473, allocations: 12.38 kB / 1.204 GB, free: 10.78 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.2474, allocations: 16.38 kB / 1.204 GB, free: 10.76 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/0.2479, allocations: 0.6418 MB / 1.205 GB, free: 10.11 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2479, allocations: 0 / 1.205 GB, free: 10.11 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2479, allocations: 12 kB / 1.205 GB, free: 10.1 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2479, allocations: 7.984 kB / 1.205 GB, free: 10.09 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.2488, allocations: 1.097 MB / 1.206 GB, free: 8.996 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.2511, allocations: 3.009 MB / 1.209 GB, free: 5.941 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.2516, allocations: 336.7 kB / 1.209 GB, free: 5.605 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2518, allocations: 224.7 kB / 1.209 GB, free: 5.383 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.2519, allocations: 23.92 kB / 1.209 GB, free: 5.359 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2519, allocations: 42.56 kB / 1.209 GB, free: 5.309 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.2519, allocations: 0 / 1.209 GB, free: 5.309 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0007951/0.2527, allocations: 0.7173 MB / 1.21 GB, free: 4.586 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.2527, allocations: 55.41 kB / 1.21 GB, free: 4.52 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004848/0.2576, allocations: 6.501 MB / 1.216 GB, free: 13.99 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.2576, allocations: 29.7 kB / 1.216 GB, free: 13.96 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.2578, allocations: 420.4 kB / 1.217 GB, free: 13.54 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.2579, allocations: 67.42 kB / 1.217 GB, free: 13.48 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.2579, allocations: 57.7 kB / 1.217 GB, free: 13.41 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.258, allocations: 314 kB / 1.217 GB, free: 13.1 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.2584, allocations: 0.5349 MB / 1.218 GB, free: 12.57 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.2592, allocations: 0.5561 MB / 1.218 GB, free: 12 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.2598, allocations: 0.7675 MB / 1.219 GB, free: 11.23 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2598, allocations: 3.938 kB / 1.219 GB, free: 11.23 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009598/0.2608, allocations: 1.235 MB / 1.22 GB, free: 9.984 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2608, allocations: 4 kB / 1.22 GB, free: 9.98 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2608, allocations: 0 / 1.22 GB, free: 9.98 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2609, allocations: 4 kB / 1.22 GB, free: 9.977 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.261, allocations: 67.92 kB / 1.22 GB, free: 9.91 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.261, allocations: 0 / 1.22 GB, free: 9.91 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.2613, allocations: 39.83 kB / 1.22 GB, free: 9.871 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2613, allocations: 15.98 kB / 1.22 GB, free: 9.855 MB / 0.8543 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.0002268/0.2615, allocations: 277.6 kB / 1.221 GB, free: 9.574 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2617, allocations: 107.2 kB / 1.221 GB, free: 9.469 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.2623, allocations: 0.562 MB / 1.221 GB, free: 8.902 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2623, allocations: 0 / 1.221 GB, free: 8.902 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2623, allocations: 4 kB / 1.221 GB, free: 8.898 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2623, allocations: 3.984 kB / 1.221 GB, free: 8.895 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.2644, allocations: 2.669 MB / 1.224 GB, free: 6.121 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2644, allocations: 4.062 kB / 1.224 GB, free: 6.117 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2646, allocations: 55.89 kB / 1.224 GB, free: 6.062 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2646, allocations: 4 kB / 1.224 GB, free: 6.059 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2646, allocations: 12 kB / 1.224 GB, free: 6.047 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.2646, allocations: 15.92 kB / 1.224 GB, free: 6.031 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2646, allocations: 8 kB / 1.224 GB, free: 6.023 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.2652, allocations: 0.6759 MB / 1.225 GB, free: 5.273 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.2654, allocations: 191.2 kB / 1.225 GB, free: 5.086 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.2655, allocations: 12 kB / 1.225 GB, free: 5.074 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2657, allocations: 23.98 kB / 1.225 GB, free: 5.051 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.2657, allocations: 27.84 kB / 1.225 GB, free: 5.023 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2657, allocations: 12 kB / 1.225 GB, free: 5.012 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.00335/0.2691, allocations: 5.157 MB / 1.23 GB, free: 15.84 MB / 0.8699 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2691, allocations: 0 / 1.23 GB, free: 15.84 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0004909/0.2696, allocations: 191.9 kB / 1.23 GB, free: 15.66 MB / 0.8699 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.0009579/0.2705, allocations: 1.292 MB / 1.231 GB, free: 14.28 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0006995/0.2712, allocations: 0.769 MB / 1.232 GB, free: 13.51 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2712, allocations: 0 / 1.232 GB, free: 13.51 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.2717, allocations: 224.5 kB / 1.232 GB, free: 13.29 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.2723, allocations: 188.5 kB / 1.233 GB, free: 13.1 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.2886, allocations: 22.93 MB / 1.255 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2889, allocations: 411.1 kB / 1.255 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002828/0.2892, allocations: 145.4 kB / 1.255 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.2895, allocations: 295.3 kB / 1.256 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/0.2895, allocations: 0 / 1.256 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.3263, allocations: 25.67 MB / 1.281 GB, free: 11.71 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/7.189, allocations: 4.062 kB / 1.281 GB, free: 11.7 MB / 0.9168 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.802700304426253] Failed to read output from testmodel.py, exit status != 0: 7.279794258996844 7.289197496 7.043507655 Calling exit ...