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.000885/0.000885, 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.001132/0.001132, 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.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.605 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.03781/0.03781, allocations: 12.19 MB / 324.6 MB, free: 6.168 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.0004227/0.0004227, allocations: 31.94 kB / 384.1 MB, free: 10.59 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.694/1.694, allocations: 353.9 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.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.001465/0.001465, allocations: 125.3 kB / 1.06 GB, free: 24.71 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2373, allocations: 134.9 MB / 1.192 GB, free: 7.508 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002262/0.2396, allocations: 1.942 MB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2411, allocations: 1.325 MB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.2412, allocations: 0 / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.2417, allocations: 239.4 kB / 1.195 GB, free: 3.992 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.2424, allocations: 450.5 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.833e-06/0.2424, allocations: 0 / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.2427, allocations: 390.5 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.2428, allocations: 12.58 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.2429, allocations: 151.4 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.243, allocations: 195.1 kB / 1.196 GB, free: 2.812 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.2431, allocations: 24 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.2434, allocations: 279.6 kB / 1.197 GB, free: 2.516 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.2437, allocations: 398.8 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.2441, allocations: 334.2 kB / 1.197 GB, free: 1.797 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.2448, allocations: 1.167 MB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2448, allocations: 0 / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2448, allocations: 4 kB / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.2448, allocations: 0 / 1.198 GB, free: 0.6211 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.001116/0.2459, allocations: 1.183 MB / 1.2 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.246, allocations: 11.97 kB / 1.2 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.246, allocations: 42.75 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.2464, allocations: 156.2 kB / 1.2 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.249, allocations: 4.221 MB / 1.204 GB, free: 10.93 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.249, allocations: 12.38 kB / 1.204 GB, free: 10.91 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.249, allocations: 12.38 kB / 1.204 GB, free: 10.9 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.2499, allocations: 0.6419 MB / 1.205 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2499, allocations: 0 / 1.205 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2499, allocations: 8 kB / 1.205 GB, free: 10.25 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2499, allocations: 8 kB / 1.205 GB, free: 10.24 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.2508, allocations: 1.097 MB / 1.206 GB, free: 9.141 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.2532, allocations: 3.013 MB / 1.209 GB, free: 6.082 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.2537, allocations: 334.7 kB / 1.209 GB, free: 5.746 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.254, allocations: 220.8 kB / 1.209 GB, free: 5.527 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.254, allocations: 35.8 kB / 1.209 GB, free: 5.492 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.254, allocations: 34.55 kB / 1.209 GB, free: 5.449 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/0.2541, allocations: 0 / 1.209 GB, free: 5.449 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0008795/0.2549, allocations: 0.7213 MB / 1.21 GB, free: 4.723 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.255, allocations: 55.41 kB / 1.21 GB, free: 4.656 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/0.2603, allocations: 6.501 MB / 1.216 GB, free: 14.13 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2604, allocations: 29.7 kB / 1.216 GB, free: 14.09 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.2606, allocations: 420.3 kB / 1.217 GB, free: 13.68 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.2607, allocations: 67.42 kB / 1.217 GB, free: 13.62 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.2608, allocations: 57.69 kB / 1.217 GB, free: 13.55 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.2608, allocations: 322 kB / 1.217 GB, free: 13.23 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.2612, allocations: 0.5232 MB / 1.218 GB, free: 12.71 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.2616, allocations: 0.5639 MB / 1.218 GB, free: 12.14 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008081/0.2624, allocations: 0.7713 MB / 1.219 GB, free: 11.36 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2624, allocations: 4 kB / 1.219 GB, free: 11.36 MB / 0.8543 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009145/0.2633, allocations: 1.223 MB / 1.22 GB, free: 10.13 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2634, allocations: 8 kB / 1.22 GB, free: 10.12 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2634, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2634, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2636, allocations: 67.89 kB / 1.22 GB, free: 10.05 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.2636, allocations: 12.02 kB / 1.22 GB, free: 10.04 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2638, allocations: 39.83 kB / 1.22 GB, free: 10 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2638, allocations: 12 kB / 1.22 GB, free: 9.992 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.0002021/0.264, allocations: 285.6 kB / 1.221 GB, free: 9.703 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.2641, allocations: 99.27 kB / 1.221 GB, free: 9.605 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.2646, allocations: 0.5616 MB / 1.221 GB, free: 9.039 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2646, allocations: 3.984 kB / 1.221 GB, free: 9.035 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2646, allocations: 0 / 1.221 GB, free: 9.035 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2646, allocations: 0 / 1.221 GB, free: 9.035 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.2666, allocations: 2.669 MB / 1.224 GB, free: 6.258 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2666, allocations: 4 kB / 1.224 GB, free: 6.254 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.2667, allocations: 48.5 kB / 1.224 GB, free: 6.207 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2667, allocations: 12 kB / 1.224 GB, free: 6.195 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2667, allocations: 11.98 kB / 1.224 GB, free: 6.184 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2667, allocations: 7.938 kB / 1.224 GB, free: 6.176 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2667, allocations: 4 kB / 1.224 GB, free: 6.172 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.2673, allocations: 0.689 MB / 1.225 GB, free: 5.41 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2674, allocations: 191.2 kB / 1.225 GB, free: 5.223 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.2675, allocations: 4 kB / 1.225 GB, free: 5.219 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2677, allocations: 31.97 kB / 1.225 GB, free: 5.188 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.2677, allocations: 27.86 kB / 1.225 GB, free: 5.16 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2677, allocations: 8 kB / 1.225 GB, free: 5.152 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.003052/0.2708, allocations: 5.16 MB / 1.23 GB, free: 15.98 MB / 0.8699 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2708, allocations: 0 / 1.23 GB, free: 15.98 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0004287/0.2712, allocations: 191.9 kB / 1.23 GB, free: 15.79 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.0009303/0.2721, allocations: 1.283 MB / 1.231 GB, free: 14.42 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.000658/0.2728, allocations: 0.7666 MB / 1.232 GB, free: 13.66 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2728, allocations: 4 kB / 1.232 GB, free: 13.65 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.2732, allocations: 224.8 kB / 1.232 GB, free: 13.43 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.2738, allocations: 188.2 kB / 1.232 GB, free: 13.25 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.2891, allocations: 22.94 MB / 1.255 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2894, allocations: 407.1 kB / 1.255 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002675/0.2897, allocations: 153.4 kB / 1.255 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.29, allocations: 299.3 kB / 1.256 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of SimCode: time 1.923e-06/0.29, allocations: 0 / 1.256 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.3247, allocations: 25.68 MB / 1.281 GB, free: 11.83 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.569, allocations: 0 / 1.281 GB, free: 11.83 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: 12.09667694568634] Failed to read output from testmodel.py, exit status != 0: 7.655548889189959 7.666166046 7.418476747 Calling exit ...