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.0007935/0.0007935, allocations: 105.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.0008142/0.0008142, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9537/0.9537, allocations: 230.6 MB / 256 MB, free: 9.824 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.0383/0.0383, allocations: 12.18 MB / 324.6 MB, free: 6.398 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.0004396/0.0004396, allocations: 35.88 kB / 384.1 MB, free: 10.8 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.682/1.682, allocations: 353.8 MB / 0.7787 GB, free: 3.098 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.00212/0.00212, allocations: 118 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2228, allocations: 134.9 MB / 1.192 GB, free: 7.863 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002368/0.2252, allocations: 2.201 MB / 1.194 GB, free: 5.648 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.2266, allocations: 1.438 MB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.2267, allocations: 7.938 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.2272, allocations: 283.3 kB / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.2278, allocations: 450.5 kB / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.51e-06/0.2278, allocations: 0 / 1.196 GB, free: 3.477 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.228, allocations: 402.5 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.2281, allocations: 8.594 kB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.2282, allocations: 143.4 kB / 1.197 GB, free: 2.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2283, allocations: 215.1 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.2283, allocations: 24 kB / 1.197 GB, free: 2.695 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.2288, allocations: 299.5 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.229, allocations: 394.8 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.2292, allocations: 409.7 kB / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.2298, allocations: 1.159 MB / 1.199 GB, free: 460 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2299, allocations: 0 / 1.199 GB, free: 460 kB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2299, allocations: 4 kB / 1.199 GB, free: 456 kB / 0.823 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.2299, allocations: 4 kB / 1.199 GB, free: 452 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.001027/0.2309, allocations: 1.176 MB / 1.2 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2309, allocations: 15.97 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.231, allocations: 46.73 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.2313, allocations: 156.2 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2338, allocations: 4.221 MB / 1.204 GB, free: 10.74 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.2338, allocations: 16.38 kB / 1.204 GB, free: 10.73 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2338, allocations: 12.38 kB / 1.204 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.2343, allocations: 0.638 MB / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2343, allocations: 0 / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2343, allocations: 4 kB / 1.205 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2343, allocations: 4 kB / 1.205 GB, free: 10.06 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/0.2351, allocations: 1.109 MB / 1.206 GB, free: 8.953 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.2373, allocations: 3.13 MB / 1.209 GB, free: 5.781 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.2377, allocations: 342.6 kB / 1.21 GB, free: 5.438 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2379, allocations: 216.8 kB / 1.21 GB, free: 5.223 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.238, allocations: 27.92 kB / 1.21 GB, free: 5.195 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.238, allocations: 38.56 kB / 1.21 GB, free: 5.148 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 1.203e-06/0.238, allocations: 0 / 1.21 GB, free: 5.148 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0007291/0.2387, allocations: 0.7247 MB / 1.211 GB, free: 4.418 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2388, allocations: 51.41 kB / 1.211 GB, free: 4.355 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/0.2433, allocations: 6.501 MB / 1.217 GB, free: 13.83 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2433, allocations: 25.7 kB / 1.217 GB, free: 13.8 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2435, allocations: 420.5 kB / 1.217 GB, free: 13.39 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2435, allocations: 67.39 kB / 1.217 GB, free: 13.32 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.2436, allocations: 57.69 kB / 1.218 GB, free: 13.26 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.2437, allocations: 318 kB / 1.218 GB, free: 12.94 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.2442, allocations: 0.5271 MB / 1.218 GB, free: 12.41 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.2446, allocations: 0.5561 MB / 1.219 GB, free: 11.85 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.2452, allocations: 0.7636 MB / 1.22 GB, free: 11.08 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2452, allocations: 7.938 kB / 1.22 GB, free: 11.07 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000884/0.246, allocations: 1.227 MB / 1.221 GB, free: 9.84 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2461, allocations: 4 kB / 1.221 GB, free: 9.836 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2461, allocations: 3.984 kB / 1.221 GB, free: 9.832 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2461, allocations: 4 kB / 1.221 GB, free: 9.828 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.2462, allocations: 63.89 kB / 1.221 GB, free: 9.766 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2463, allocations: 4.031 kB / 1.221 GB, free: 9.762 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.2464, allocations: 43.77 kB / 1.221 GB, free: 9.719 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2465, allocations: 12 kB / 1.221 GB, free: 9.707 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.0001968/0.2467, allocations: 282.7 kB / 1.221 GB, free: 9.422 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.2467, allocations: 99.27 kB / 1.221 GB, free: 9.324 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.2473, allocations: 0.5703 MB / 1.222 GB, free: 8.75 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2473, allocations: 0 / 1.222 GB, free: 8.75 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2473, allocations: 3.938 kB / 1.222 GB, free: 8.746 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2473, allocations: 4 kB / 1.222 GB, free: 8.742 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.2493, allocations: 2.79 MB / 1.225 GB, free: 5.844 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2493, allocations: 4.594 kB / 1.225 GB, free: 5.84 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2494, allocations: 55.89 kB / 1.225 GB, free: 5.785 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2494, allocations: 8 kB / 1.225 GB, free: 5.777 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.2494, allocations: 12 kB / 1.225 GB, free: 5.766 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2494, allocations: 11.88 kB / 1.225 GB, free: 5.754 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2494, allocations: 4 kB / 1.225 GB, free: 5.75 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.2502, allocations: 0.6836 MB / 1.225 GB, free: 4.992 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.2504, allocations: 183.3 kB / 1.226 GB, free: 4.812 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.2504, allocations: 7.984 kB / 1.226 GB, free: 4.805 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.2506, allocations: 27.98 kB / 1.226 GB, free: 4.777 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.2507, allocations: 27.86 kB / 1.226 GB, free: 4.75 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.2507, allocations: 15.98 kB / 1.226 GB, free: 4.734 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.002893/0.2536, allocations: 5.153 MB / 1.231 GB, free: 15.57 MB / 0.8699 GB Notification: Performance of sort global known variables: time 8e-08/0.2536, allocations: 0 / 1.231 GB, free: 15.57 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0004163/0.254, allocations: 195.8 kB / 1.231 GB, free: 15.38 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.0009832/0.255, allocations: 1.288 MB / 1.232 GB, free: 14 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.2556, allocations: 0.769 MB / 1.233 GB, free: 13.23 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2556, allocations: 0 / 1.233 GB, free: 13.23 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.2558, 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.0005528/0.2564, allocations: 194.8 kB / 1.233 GB, free: 12.83 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.2714, allocations: 22.94 MB / 1.256 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2718, allocations: 1.007 MB / 1.257 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.2721, allocations: 145.4 kB / 1.257 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.2723, allocations: 295.3 kB / 1.257 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of SimCode: time 8.91e-07/0.2723, allocations: 3.938 kB / 1.257 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3033, allocations: 24.07 MB / 1.281 GB, free: 12.36 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.76, allocations: 8.516 kB / 1.281 GB, free: 12.36 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 & 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: 12.1844821870327] Failed to read output from testmodel.py, exit status != 0: 7.846842455677688 7.8559371 7.624330175 Calling exit ...