Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007858/0.0007858, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008193/0.0008193, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9249/0.9249, allocations: 230.6 MB / 256 MB, free: 9.793 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.03955/0.03955, allocations: 12.18 MB / 324.6 MB, free: 6.277 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.0005434/0.0005434, allocations: 31.88 kB / 384.1 MB, free: 10.68 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.739/1.739, allocations: 353.8 MB / 0.7787 GB, free: 3.023 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.DryFluid,fileNamePrefix="AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.001578/0.001578, allocations: 129.1 kB / 1.06 GB, free: 25.04 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2285, allocations: 134.9 MB / 1.192 GB, free: 7.832 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002271/0.2307, allocations: 2.086 MB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2324, allocations: 1.43 MB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.2325, allocations: 3.938 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.2331, allocations: 283.3 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008132/0.2339, allocations: 448.5 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.923e-06/0.2339, allocations: 0 / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.2342, allocations: 394.5 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.2343, allocations: 12.59 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2344, allocations: 151.4 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2345, allocations: 207.1 kB / 1.197 GB, free: 2.82 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.2345, allocations: 28 kB / 1.197 GB, free: 2.793 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004095/0.235, allocations: 307.5 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.2352, allocations: 390.9 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.2354, allocations: 413.7 kB / 1.198 GB, free: 1.703 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000903/0.2363, allocations: 1.159 MB / 1.199 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2363, allocations: 0 / 1.199 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2363, allocations: 0 / 1.199 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2363, allocations: 0 / 1.199 GB, free: 0.5391 MB / 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.001166/0.2375, allocations: 1.179 MB / 1.2 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2375, allocations: 8.031 kB / 1.2 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2376, allocations: 50.73 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.238, allocations: 152.2 kB / 1.2 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.2407, allocations: 4.217 MB / 1.204 GB, free: 10.85 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.2408, allocations: 12.38 kB / 1.204 GB, free: 10.84 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.2408, allocations: 12.38 kB / 1.204 GB, free: 10.83 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.2414, allocations: 0.638 MB / 1.205 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2414, allocations: 4 kB / 1.205 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.2414, allocations: 4 kB / 1.205 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2414, allocations: 4 kB / 1.205 GB, free: 10.17 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.2423, allocations: 1.101 MB / 1.206 GB, free: 9.07 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.2448, allocations: 3.146 MB / 1.209 GB, free: 5.879 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.2454, allocations: 338.7 kB / 1.209 GB, free: 5.539 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.2456, allocations: 224.7 kB / 1.21 GB, free: 5.316 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.2457, allocations: 27.91 kB / 1.21 GB, free: 5.289 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2457, allocations: 34.56 kB / 1.21 GB, free: 5.246 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 4.699e-06/0.2457, allocations: 0 / 1.21 GB, free: 5.246 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.00088/0.2466, allocations: 0.725 MB / 1.21 GB, free: 4.516 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2466, allocations: 55.41 kB / 1.21 GB, free: 4.449 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/0.2519, allocations: 6.493 MB / 1.217 GB, free: 13.93 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.2519, allocations: 33.7 kB / 1.217 GB, free: 13.89 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.2522, allocations: 408.5 kB / 1.217 GB, free: 13.49 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.2522, allocations: 79.38 kB / 1.217 GB, free: 13.41 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.2523, allocations: 57.69 kB / 1.217 GB, free: 13.35 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.2524, allocations: 314 kB / 1.218 GB, free: 13.04 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.2528, allocations: 0.531 MB / 1.218 GB, free: 12.51 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.2532, allocations: 0.5522 MB / 1.219 GB, free: 11.95 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.2539, allocations: 0.7714 MB / 1.219 GB, free: 11.17 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2539, allocations: 3.938 kB / 1.219 GB, free: 11.17 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001064/0.255, allocations: 1.227 MB / 1.221 GB, free: 9.934 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.255, allocations: 8.031 kB / 1.221 GB, free: 9.926 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.255, allocations: 4 kB / 1.221 GB, free: 9.922 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.255, allocations: 0 / 1.221 GB, free: 9.922 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.2552, allocations: 63.89 kB / 1.221 GB, free: 9.859 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2552, allocations: 4 kB / 1.221 GB, free: 9.855 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.2555, allocations: 43.75 kB / 1.221 GB, free: 9.812 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.2555, allocations: 11.94 kB / 1.221 GB, free: 9.801 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.0002507/0.2558, allocations: 289.6 kB / 1.221 GB, free: 9.508 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2559, allocations: 95.33 kB / 1.221 GB, free: 9.414 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.2565, allocations: 0.558 MB / 1.222 GB, free: 8.852 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2565, allocations: 7.938 kB / 1.222 GB, free: 8.844 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2565, allocations: 7.938 kB / 1.222 GB, free: 8.836 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2565, allocations: 3.984 kB / 1.222 GB, free: 8.832 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.2589, allocations: 2.786 MB / 1.224 GB, free: 5.938 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2589, allocations: 4 kB / 1.224 GB, free: 5.934 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.259, allocations: 51.91 kB / 1.225 GB, free: 5.883 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.259, allocations: 4 kB / 1.225 GB, free: 5.879 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2591, allocations: 11.98 kB / 1.225 GB, free: 5.867 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.2591, allocations: 8.344 kB / 1.225 GB, free: 5.859 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.2591, allocations: 16 kB / 1.225 GB, free: 5.844 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.2599, allocations: 0.6836 MB / 1.225 GB, free: 5.086 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.2601, allocations: 171.3 kB / 1.225 GB, free: 4.918 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.392e-05/0.2602, allocations: 12 kB / 1.225 GB, free: 4.906 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2604, allocations: 27.98 kB / 1.225 GB, free: 4.879 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2604, allocations: 31.84 kB / 1.225 GB, free: 4.848 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2604, allocations: 8 kB / 1.225 GB, free: 4.84 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.003294/0.2637, allocations: 5.16 MB / 1.231 GB, free: 15.67 MB / 0.8699 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2637, allocations: 0 / 1.231 GB, free: 15.67 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0005708/0.2643, allocations: 191.8 kB / 1.231 GB, free: 15.48 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.001044/0.2653, allocations: 1.284 MB / 1.232 GB, free: 14.11 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0007289/0.2661, allocations: 0.769 MB / 1.233 GB, free: 13.34 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2661, allocations: 0 / 1.233 GB, free: 13.34 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.2663, allocations: 228.5 kB / 1.233 GB, free: 13.12 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.267, allocations: 196.5 kB / 1.233 GB, free: 12.92 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.2836, allocations: 22.94 MB / 1.256 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.284, allocations: 1.007 MB / 1.256 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003176/0.2843, allocations: 149.4 kB / 1.257 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.2846, allocations: 291.3 kB / 1.257 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of SimCode: time 1.924e-06/0.2846, allocations: 0 / 1.257 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.3235, allocations: 24.06 MB / 1.28 GB, free: 12.46 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.234, allocations: 7.438 kB / 1.28 GB, free: 12.46 MB / 0.9168 GB " [Timeout remaining time 652] (rm -f AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.702047342434525] Failed to read output from testmodel.py, exit status != 0: 8.323920035734773 8.336046642 8.097779126 Calling exit ...