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.0008425/0.0008425, 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.0008219/0.0008219, 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.8876/0.8876, allocations: 230.6 MB / 256 MB, free: 9.82 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.03734/0.03734, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0004036/0.0004036, allocations: 39.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.659/1.659, allocations: 353.8 MB / 0.7787 GB, free: 3.121 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.001485/0.001485, allocations: 125 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 134.9 MB / 1.192 GB, free: 7.902 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002555/0.2267, allocations: 2.082 MB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2284, allocations: 1.441 MB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.2285, allocations: 0 / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.2293, allocations: 283.3 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007696/0.23, allocations: 442.5 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.282e-06/0.2301, allocations: 0 / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2303, allocations: 394.5 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.2304, allocations: 12.59 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.2304, allocations: 147.4 kB / 1.196 GB, free: 3.098 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2307, allocations: 215.1 kB / 1.197 GB, free: 2.887 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.2307, allocations: 24 kB / 1.197 GB, free: 2.863 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.231, allocations: 303.5 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.2313, allocations: 398.9 kB / 1.197 GB, free: 2.176 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.2315, allocations: 413.7 kB / 1.198 GB, free: 1.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.2323, allocations: 1.156 MB / 1.199 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.502e-05/0.2323, allocations: 0 / 1.199 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.099e-06/0.2323, allocations: 0 / 1.199 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.2323, allocations: 3.938 kB / 1.199 GB, free: 0.6055 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.001204/0.2335, allocations: 1.175 MB / 1.2 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2336, allocations: 8.031 kB / 1.2 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.2336, allocations: 46.75 kB / 1.2 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.234, allocations: 156.2 kB / 1.2 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.2367, allocations: 4.213 MB / 1.204 GB, free: 10.93 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2367, allocations: 12.38 kB / 1.204 GB, free: 10.91 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.2368, allocations: 16.36 kB / 1.204 GB, free: 10.9 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.2373, allocations: 0.6341 MB / 1.205 GB, free: 10.26 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2373, allocations: 4 kB / 1.205 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2373, allocations: 8 kB / 1.205 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2374, allocations: 4 kB / 1.205 GB, free: 10.24 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008017/0.2382, allocations: 1.101 MB / 1.206 GB, free: 9.141 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.2406, allocations: 3.142 MB / 1.209 GB, free: 5.953 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.2412, allocations: 330.7 kB / 1.209 GB, free: 5.621 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.2414, allocations: 236.7 kB / 1.21 GB, free: 5.387 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.2415, allocations: 23.92 kB / 1.21 GB, free: 5.363 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2415, allocations: 34.56 kB / 1.21 GB, free: 5.32 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 2.235e-06/0.2415, allocations: 0 / 1.21 GB, free: 5.32 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0008517/0.2424, allocations: 0.7253 MB / 1.21 GB, free: 4.59 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2424, allocations: 55.41 kB / 1.21 GB, free: 4.523 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/0.2474, allocations: 6.493 MB / 1.217 GB, free: 14 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.2474, allocations: 33.69 kB / 1.217 GB, free: 13.96 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.2477, allocations: 412.5 kB / 1.217 GB, free: 13.56 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.2477, allocations: 71.3 kB / 1.217 GB, free: 13.49 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.2478, allocations: 57.69 kB / 1.217 GB, free: 13.43 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.2478, allocations: 322 kB / 1.218 GB, free: 13.11 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.2483, allocations: 0.5271 MB / 1.218 GB, free: 12.58 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.2487, allocations: 0.5522 MB / 1.219 GB, free: 12.02 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.2493, allocations: 0.7713 MB / 1.219 GB, free: 11.25 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2493, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000948/0.2502, allocations: 1.231 MB / 1.221 GB, free: 10.01 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2503, allocations: 4 kB / 1.221 GB, free: 10 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2503, allocations: 4.031 kB / 1.221 GB, free: 10 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2503, allocations: 4 kB / 1.221 GB, free: 9.996 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.2505, allocations: 67.89 kB / 1.221 GB, free: 9.93 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.2505, allocations: 4 kB / 1.221 GB, free: 9.926 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.2507, allocations: 43.7 kB / 1.221 GB, free: 9.883 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2508, allocations: 11.98 kB / 1.221 GB, free: 9.871 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.0002121/0.251, allocations: 281.6 kB / 1.221 GB, free: 9.586 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2511, allocations: 99.33 kB / 1.221 GB, free: 9.488 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.2517, allocations: 0.558 MB / 1.222 GB, free: 8.926 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2517, allocations: 11.92 kB / 1.222 GB, free: 8.914 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2517, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2517, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.254, allocations: 2.794 MB / 1.224 GB, free: 6.012 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.254, allocations: 7.938 kB / 1.224 GB, free: 6.004 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2541, allocations: 47.95 kB / 1.225 GB, free: 5.957 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2541, allocations: 4 kB / 1.225 GB, free: 5.953 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2542, allocations: 16 kB / 1.225 GB, free: 5.938 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2542, allocations: 7.938 kB / 1.225 GB, free: 5.93 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2542, allocations: 8 kB / 1.225 GB, free: 5.922 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.2548, allocations: 0.6838 MB / 1.225 GB, free: 5.164 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.255, allocations: 175.3 kB / 1.225 GB, free: 4.992 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.255, allocations: 19.92 kB / 1.225 GB, free: 4.973 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2553, allocations: 19.98 kB / 1.225 GB, free: 4.953 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.2553, allocations: 35.84 kB / 1.225 GB, free: 4.918 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2553, allocations: 12 kB / 1.225 GB, free: 4.906 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.003205/0.2585, allocations: 5.153 MB / 1.231 GB, free: 15.74 MB / 0.8699 GB Notification: Performance of sort global known variables: time 8e-08/0.2585, allocations: 0 / 1.231 GB, free: 15.74 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0004894/0.259, allocations: 195.8 kB / 1.231 GB, free: 15.55 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.0009569/0.26, allocations: 1.285 MB / 1.232 GB, free: 14.18 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.2607, allocations: 0.769 MB / 1.233 GB, free: 13.41 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2607, allocations: 0 / 1.233 GB, free: 13.41 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2609, allocations: 224.8 kB / 1.233 GB, free: 13.19 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.2615, allocations: 196.1 kB / 1.233 GB, free: 13 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.2773, allocations: 22.94 MB / 1.256 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.2778, allocations: 1.003 MB / 1.256 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002954/0.2781, allocations: 149.4 kB / 1.257 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.2784, allocations: 295.3 kB / 1.257 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/0.2784, allocations: 0 / 1.257 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.3121, allocations: 24.06 MB / 1.28 GB, free: 12.54 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.641, allocations: 11.38 kB / 1.28 GB, free: 12.53 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.888027890585363] Failed to read output from testmodel.py, exit status != 0: 7.723904574289918 7.732915002 7.498953301 Calling exit ...