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.0008884/0.0008884, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001011/0.001011, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9749/0.9749, allocations: 230.6 MB / 256 MB, free: 9.625 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.04047/0.04047, allocations: 12.19 MB / 324.6 MB, free: 6.109 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.0005161/0.0005161, allocations: 31.95 kB / 384.1 MB, free: 10.53 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.736/1.736, allocations: 353.8 MB / 0.7787 GB, free: 4.66 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.00152/0.00152, allocations: 126.8 kB / 1.06 GB, free: 24.76 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2465, allocations: 134.9 MB / 1.192 GB, free: 7.566 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003753/0.2502, allocations: 1.938 MB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.2529, allocations: 1.325 MB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.253, allocations: 4 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.2538, allocations: 239.3 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.2549, allocations: 442.5 kB / 1.196 GB, free: 3.609 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 1.147e-05/0.2549, allocations: 4 kB / 1.196 GB, free: 3.605 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.2554, allocations: 398.5 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.455e-05/0.2555, allocations: 8.594 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.2557, allocations: 139.4 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.2559, allocations: 207.1 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.256, allocations: 20 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.2565, allocations: 279.6 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.2569, allocations: 398.8 kB / 1.197 GB, free: 2.18 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.2572, allocations: 334.2 kB / 1.197 GB, free: 1.852 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.2587, allocations: 1.171 MB / 1.198 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2587, allocations: 0 / 1.198 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2587, allocations: 4 kB / 1.198 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.2587, allocations: 0 / 1.198 GB, free: 0.6719 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.00191/0.2606, allocations: 1.176 MB / 1.2 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.2607, allocations: 8.031 kB / 1.2 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.2608, allocations: 50.73 kB / 1.2 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.2614, allocations: 148.2 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003984/0.2653, allocations: 4.229 MB / 1.204 GB, free: 10.98 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2654, allocations: 12.38 kB / 1.204 GB, free: 10.97 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.2654, allocations: 16.38 kB / 1.204 GB, free: 10.95 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.2662, allocations: 0.638 MB / 1.205 GB, free: 10.31 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2662, allocations: 3.938 kB / 1.205 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.2662, allocations: 4 kB / 1.205 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2662, allocations: 4 kB / 1.205 GB, free: 10.3 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2675, allocations: 1.105 MB / 1.206 GB, free: 9.191 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.2707, allocations: 3.009 MB / 1.209 GB, free: 6.137 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.2713, allocations: 332.6 kB / 1.209 GB, free: 5.805 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.2716, allocations: 228.7 kB / 1.209 GB, free: 5.578 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.2716, allocations: 27.92 kB / 1.209 GB, free: 5.551 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2717, allocations: 38.55 kB / 1.209 GB, free: 5.504 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 1.804e-06/0.2717, allocations: 0 / 1.209 GB, free: 5.504 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.000829/0.2725, allocations: 0.7159 MB / 1.21 GB, free: 4.781 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.2725, allocations: 55.41 kB / 1.21 GB, free: 4.715 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.2773, allocations: 6.509 MB / 1.216 GB, free: 14.18 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2774, allocations: 25.7 kB / 1.216 GB, free: 14.15 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.2776, allocations: 420.4 kB / 1.217 GB, free: 13.74 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.2776, allocations: 63.44 kB / 1.217 GB, free: 13.68 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.2777, allocations: 57.69 kB / 1.217 GB, free: 13.61 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.2778, allocations: 318 kB / 1.217 GB, free: 13.3 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.2782, allocations: 0.5309 MB / 1.218 GB, free: 12.77 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.2786, allocations: 0.56 MB / 1.218 GB, free: 12.2 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.2792, allocations: 0.7635 MB / 1.219 GB, free: 11.43 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2792, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001253/0.2805, allocations: 1.243 MB / 1.22 GB, free: 10.18 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2805, allocations: 5.719 kB / 1.22 GB, free: 10.18 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2805, allocations: 4 kB / 1.22 GB, free: 10.17 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2805, allocations: 0 / 1.22 GB, free: 10.17 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2807, allocations: 67.89 kB / 1.22 GB, free: 10.11 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2807, allocations: 4 kB / 1.22 GB, free: 10.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.281, allocations: 35.83 kB / 1.22 GB, free: 10.07 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.281, allocations: 16.02 kB / 1.22 GB, free: 10.05 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.0002168/0.2812, allocations: 281.6 kB / 1.221 GB, free: 9.766 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-05/0.2813, allocations: 99.31 kB / 1.221 GB, free: 9.668 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.2819, allocations: 0.5577 MB / 1.221 GB, free: 9.105 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2819, allocations: 8 kB / 1.221 GB, free: 9.098 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2819, allocations: 0 / 1.221 GB, free: 9.098 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2819, allocations: 0 / 1.221 GB, free: 9.098 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.284, allocations: 2.669 MB / 1.224 GB, free: 6.32 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.284, allocations: 4 kB / 1.224 GB, free: 6.316 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2841, allocations: 55.89 kB / 1.224 GB, free: 6.262 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2841, allocations: 8 kB / 1.224 GB, free: 6.254 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2841, allocations: 8 kB / 1.224 GB, free: 6.246 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.2842, allocations: 16.36 kB / 1.224 GB, free: 6.23 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2842, allocations: 8 kB / 1.224 GB, free: 6.223 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.2848, allocations: 0.6813 MB / 1.225 GB, free: 5.469 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.285, allocations: 191.2 kB / 1.225 GB, free: 5.281 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.285, allocations: 4 kB / 1.225 GB, free: 5.277 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.2852, allocations: 31.98 kB / 1.225 GB, free: 5.246 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.2852, allocations: 31.84 kB / 1.225 GB, free: 5.215 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2852, allocations: 8 kB / 1.225 GB, free: 5.207 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.003496/0.2887, allocations: 5.157 MB / 1.23 GB, free: 40 kB / 0.8543 GB Notification: Performance of sort global known variables: time 8e-08/0.2887, allocations: 0 / 1.23 GB, free: 40 kB / 0.8543 GB Notification: Performance of remove unused functions: time 0.0005522/0.2893, allocations: 191.9 kB / 1.23 GB, free: 15.85 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.001002/0.2903, allocations: 1.296 MB / 1.231 GB, free: 14.47 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0007375/0.291, allocations: 0.7612 MB / 1.232 GB, free: 13.71 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.291, allocations: 0 / 1.232 GB, free: 13.71 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.2913, allocations: 220.9 kB / 1.232 GB, free: 13.49 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.292, allocations: 192.1 kB / 1.232 GB, free: 13.3 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.3084, allocations: 22.94 MB / 1.255 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3087, allocations: 407.2 kB / 1.255 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000319/0.309, allocations: 153.4 kB / 1.255 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.3093, allocations: 295.3 kB / 1.256 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/0.3093, allocations: 0 / 1.256 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.3445, allocations: 25.66 MB / 1.281 GB, free: 11.9 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/7.28, allocations: 1.562 kB / 1.281 GB, free: 11.9 MB / 0.9168 GB " [Timeout remaining time 653] (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: 11.884398832917213] Failed to read output from testmodel.py, exit status != 0: 7.367470250464976 7.376900044 7.116333025 Calling exit ...