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.0008255/0.0008255, 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.0007919/0.0007919, allocations: 217.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.9186/0.9186, allocations: 230.6 MB / 256 MB, free: 9.801 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.03888/0.03888, allocations: 12.18 MB / 324.6 MB, free: 6.281 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.0004142/0.0004142, allocations: 27.95 kB / 384.1 MB, free: 10.69 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.688/1.688, allocations: 353.8 MB / 0.7787 GB, free: 3.086 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.001524/0.001524, allocations: 116.5 kB / 1.06 GB, free: 25.05 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2096, allocations: 134.9 MB / 1.192 GB, free: 7.855 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003317/0.2129, allocations: 2.213 MB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2149, allocations: 1.43 MB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.2151, allocations: 3.938 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.2157, allocations: 291.2 kB / 1.196 GB, free: 3.902 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009296/0.2166, allocations: 439.9 kB / 1.196 GB, free: 3.473 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 9.578e-06/0.2166, allocations: 4 kB / 1.196 GB, free: 3.469 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.217, allocations: 394.5 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.2171, allocations: 12.58 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2172, allocations: 147.4 kB / 1.197 GB, free: 2.922 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.2174, allocations: 219 kB / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.2174, allocations: 20 kB / 1.197 GB, free: 2.688 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.2179, allocations: 303.6 kB / 1.197 GB, free: 2.391 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.2181, allocations: 394.8 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.2184, allocations: 409.7 kB / 1.198 GB, free: 1.602 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009897/0.2193, allocations: 1.163 MB / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2194, allocations: 0 / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2194, allocations: 0 / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.2194, allocations: 4 kB / 1.199 GB, free: 440 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.001298/0.2207, allocations: 1.175 MB / 1.2 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.2207, allocations: 15.97 kB / 1.2 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.2208, allocations: 46.73 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.2212, allocations: 148.2 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.224, allocations: 4.217 MB / 1.204 GB, free: 10.75 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.224, allocations: 16.36 kB / 1.204 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.2241, allocations: 16.38 kB / 1.204 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.2247, allocations: 0.6341 MB / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2247, allocations: 0 / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2247, allocations: 4 kB / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2247, allocations: 4 kB / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.2255, allocations: 1.109 MB / 1.206 GB, free: 8.957 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.2281, allocations: 3.138 MB / 1.209 GB, free: 5.773 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.2286, allocations: 338.6 kB / 1.21 GB, free: 5.434 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.2288, allocations: 220.8 kB / 1.21 GB, free: 5.215 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.2289, allocations: 27.92 kB / 1.21 GB, free: 5.188 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2289, allocations: 34.56 kB / 1.21 GB, free: 5.145 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.2289, allocations: 0 / 1.21 GB, free: 5.145 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0007788/0.2297, allocations: 0.7216 MB / 1.211 GB, free: 4.418 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2297, allocations: 55.41 kB / 1.211 GB, free: 4.352 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.2346, allocations: 6.501 MB / 1.217 GB, free: 13.83 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.2346, allocations: 29.7 kB / 1.217 GB, free: 13.79 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.2349, allocations: 416.5 kB / 1.217 GB, free: 13.38 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.2349, allocations: 75.38 kB / 1.217 GB, free: 13.31 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.235, allocations: 57.69 kB / 1.218 GB, free: 13.25 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.2351, allocations: 314 kB / 1.218 GB, free: 12.93 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.2355, allocations: 0.5232 MB / 1.218 GB, free: 12.41 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.236, allocations: 0.56 MB / 1.219 GB, free: 11.84 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.2366, allocations: 0.7713 MB / 1.22 GB, free: 11.07 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2366, allocations: 4 kB / 1.22 GB, free: 11.06 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009809/0.2376, allocations: 1.227 MB / 1.221 GB, free: 9.828 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2376, allocations: 8 kB / 1.221 GB, free: 9.82 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2376, allocations: 0 / 1.221 GB, free: 9.82 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2376, allocations: 0 / 1.221 GB, free: 9.82 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.2378, allocations: 67.89 kB / 1.221 GB, free: 9.754 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2378, allocations: 4 kB / 1.221 GB, free: 9.75 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.2381, allocations: 51.78 kB / 1.221 GB, free: 9.699 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2381, allocations: 8 kB / 1.221 GB, free: 9.691 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.0002803/0.2384, allocations: 281.6 kB / 1.221 GB, free: 9.406 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.2385, allocations: 99.31 kB / 1.221 GB, free: 9.309 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.239, allocations: 0.5565 MB / 1.222 GB, free: 8.746 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.239, allocations: 4 kB / 1.222 GB, free: 8.742 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.239, allocations: 3.984 kB / 1.222 GB, free: 8.738 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.239, allocations: 0 / 1.222 GB, free: 8.738 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.2412, allocations: 2.79 MB / 1.225 GB, free: 5.84 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2412, allocations: 4.594 kB / 1.225 GB, free: 5.836 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.2413, allocations: 51.91 kB / 1.225 GB, free: 5.785 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2413, allocations: 8 kB / 1.225 GB, free: 5.777 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2414, allocations: 11.98 kB / 1.225 GB, free: 5.766 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2414, allocations: 15.88 kB / 1.225 GB, free: 5.75 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2414, allocations: 4 kB / 1.225 GB, free: 5.746 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.242, allocations: 0.6851 MB / 1.225 GB, free: 4.988 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2422, allocations: 175.3 kB / 1.226 GB, free: 4.816 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.2422, allocations: 16 kB / 1.226 GB, free: 4.801 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2424, allocations: 31.97 kB / 1.226 GB, free: 4.77 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2425, allocations: 19.86 kB / 1.226 GB, free: 4.75 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2425, allocations: 23.98 kB / 1.226 GB, free: 4.727 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.003252/0.2457, allocations: 5.153 MB / 1.231 GB, free: 15.56 MB / 0.8699 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2457, allocations: 0 / 1.231 GB, free: 15.56 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0005343/0.2463, allocations: 191.8 kB / 1.231 GB, free: 15.37 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.0009914/0.2473, allocations: 1.285 MB / 1.232 GB, free: 14 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.2481, allocations: 0.765 MB / 1.233 GB, free: 13.24 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2481, allocations: 8.062 kB / 1.233 GB, free: 13.23 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2483, allocations: 219.7 kB / 1.233 GB, free: 13.02 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.249, allocations: 201.1 kB / 1.233 GB, free: 12.82 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.2665, allocations: 22.94 MB / 1.256 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2669, allocations: 1.003 MB / 1.257 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.2672, allocations: 137.4 kB / 1.257 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.2675, allocations: 299.2 kB / 1.257 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/0.2675, allocations: 3.938 kB / 1.257 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/0.3048, allocations: 24.08 MB / 1.281 GB, free: 12.35 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.751, allocations: 9.031 kB / 1.281 GB, free: 12.34 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.051508749835193] Failed to read output from testmodel.py, exit status != 0: 7.832953097298741 7.841264967 7.6202173029999996 Calling exit ...