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.0008387/0.0008387, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001085/0.001085, allocations: 209.7 kB / 22.24 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.582 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.04122/0.04122, allocations: 12.19 MB / 324.6 MB, free: 6.062 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.0005375/0.0005375, allocations: 31.95 kB / 384.1 MB, free: 10.49 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.729/1.729, allocations: 353.8 MB / 0.7787 GB, free: 4.555 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.001485/0.001485, allocations: 124.9 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2417, allocations: 134.9 MB / 1.192 GB, free: 7.527 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002747/0.2445, allocations: 2.057 MB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2463, allocations: 1.329 MB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2464, allocations: 0 / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.247, allocations: 235.4 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.2479, allocations: 454.5 kB / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 9.268e-06/0.2479, allocations: 0 / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.2482, allocations: 386.5 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.2483, allocations: 8.594 kB / 1.196 GB, free: 3.055 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.2484, allocations: 155.3 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.2486, allocations: 195.1 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.2487, allocations: 24 kB / 1.196 GB, free: 2.688 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.2492, allocations: 283.6 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.2495, allocations: 390.9 kB / 1.197 GB, free: 2.027 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.2497, allocations: 334.2 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.2506, allocations: 1.179 MB / 1.198 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2506, allocations: 0 / 1.198 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2506, allocations: 0 / 1.198 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.2506, allocations: 0 / 1.198 GB, free: 0.5156 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.001373/0.252, allocations: 1.179 MB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.252, allocations: 8.031 kB / 1.2 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.2521, allocations: 50.73 kB / 1.2 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.2525, allocations: 148.2 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.2559, allocations: 4.229 MB / 1.204 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.2559, allocations: 12.38 kB / 1.204 GB, free: 10.81 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.2559, allocations: 12.38 kB / 1.204 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.2566, allocations: 0.638 MB / 1.205 GB, free: 10.15 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2567, allocations: 0 / 1.205 GB, free: 10.15 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2567, allocations: 8 kB / 1.205 GB, free: 10.14 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2567, allocations: 4 kB / 1.205 GB, free: 10.14 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.2575, allocations: 1.105 MB / 1.206 GB, free: 9.035 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.2604, allocations: 3.009 MB / 1.209 GB, free: 5.98 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.2609, allocations: 334.7 kB / 1.209 GB, free: 5.645 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2611, allocations: 224.7 kB / 1.209 GB, free: 5.422 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.2612, allocations: 27.92 kB / 1.209 GB, free: 5.395 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2612, allocations: 34.56 kB / 1.209 GB, free: 5.352 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.2612, allocations: 3.938 kB / 1.209 GB, free: 5.348 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0008141/0.262, allocations: 0.7237 MB / 1.21 GB, free: 4.617 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.2621, allocations: 51.41 kB / 1.21 GB, free: 4.555 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/0.267, allocations: 6.501 MB / 1.216 GB, free: 14.03 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.2671, allocations: 33.7 kB / 1.216 GB, free: 13.99 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.2674, allocations: 420.3 kB / 1.217 GB, free: 13.58 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.2674, allocations: 71.42 kB / 1.217 GB, free: 13.51 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2676, allocations: 49.7 kB / 1.217 GB, free: 13.45 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2677, allocations: 318 kB / 1.217 GB, free: 13.14 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.2682, allocations: 0.531 MB / 1.218 GB, free: 12.61 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.2687, allocations: 0.5561 MB / 1.218 GB, free: 12.04 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.2694, allocations: 0.7752 MB / 1.219 GB, free: 11.26 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2694, allocations: 0 / 1.219 GB, free: 11.26 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001267/0.2706, allocations: 1.227 MB / 1.22 GB, free: 10.03 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.2707, allocations: 8 kB / 1.22 GB, free: 10.02 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2707, allocations: 4 kB / 1.22 GB, free: 10.02 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.2707, allocations: 0 / 1.22 GB, free: 10.02 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.2709, allocations: 67.95 kB / 1.22 GB, free: 9.949 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2709, allocations: 3.938 kB / 1.22 GB, free: 9.945 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.2713, allocations: 43.86 kB / 1.22 GB, free: 9.902 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2713, allocations: 11.98 kB / 1.22 GB, free: 9.891 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.0005593/0.2718, allocations: 277.7 kB / 1.221 GB, free: 9.609 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.272, allocations: 95.33 kB / 1.221 GB, free: 9.516 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.2727, allocations: 0.5699 MB / 1.221 GB, free: 8.941 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2727, allocations: 0 / 1.221 GB, free: 8.941 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2727, allocations: 0 / 1.221 GB, free: 8.941 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.2727, allocations: 3.984 kB / 1.221 GB, free: 8.938 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.2753, allocations: 2.669 MB / 1.224 GB, free: 6.16 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.2753, allocations: 8 kB / 1.224 GB, free: 6.152 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.2754, allocations: 47.91 kB / 1.224 GB, free: 6.105 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.2755, allocations: 4.531 kB / 1.224 GB, free: 6.102 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.2755, allocations: 12 kB / 1.224 GB, free: 6.09 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2755, allocations: 7.984 kB / 1.224 GB, free: 6.082 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.2755, allocations: 7.938 kB / 1.224 GB, free: 6.074 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.2763, allocations: 0.6848 MB / 1.225 GB, free: 5.316 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.2766, allocations: 191.2 kB / 1.225 GB, free: 5.129 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.2767, allocations: 12 kB / 1.225 GB, free: 5.117 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.2769, allocations: 23.98 kB / 1.225 GB, free: 5.094 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.2769, allocations: 35.84 kB / 1.225 GB, free: 5.059 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.277, allocations: 19.92 kB / 1.225 GB, free: 5.039 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.003822/0.2808, allocations: 5.157 MB / 1.23 GB, free: 15.87 MB / 0.8699 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2808, allocations: 0 / 1.23 GB, free: 15.87 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0006936/0.2815, allocations: 187.9 kB / 1.23 GB, free: 15.69 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.001144/0.2826, allocations: 1.292 MB / 1.231 GB, free: 14.31 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0008546/0.2835, allocations: 0.7652 MB / 1.232 GB, free: 13.54 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.2835, allocations: 0 / 1.232 GB, free: 13.54 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.2837, allocations: 224.6 kB / 1.232 GB, free: 13.32 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.2844, allocations: 192.3 kB / 1.233 GB, free: 13.13 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.3022, allocations: 22.94 MB / 1.255 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3025, allocations: 411.1 kB / 1.255 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.3029, allocations: 141.4 kB / 1.255 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/0.3032, allocations: 295.3 kB / 1.256 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.734e-06/0.3032, allocations: 0 / 1.256 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.3447, allocations: 25.67 MB / 1.281 GB, free: 11.74 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.571, allocations: 6.812 kB / 1.281 GB, free: 11.73 MB / 0.9168 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.136198932304978] Failed to read output from testmodel.py, exit status != 0: 7.660936431959271 7.671443437 7.419115448 Calling exit ...