Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007766/0.0007766, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008896/0.0008896, allocations: 217.2 kB / 22.25 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 0.9343/0.9343, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7824/0.7824, allocations: 203.5 MB / 0.5039 GB, free: 10.25 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009143/0.0009143, allocations: 66.08 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5504, allocations: 102 MB / 0.8174 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00223/0.5526, allocations: 1.942 MB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.5544, allocations: 1.308 MB / 0.8206 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.5545, allocations: 6.125 kB / 0.8206 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.555, allocations: 231.5 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007856/0.5558, allocations: 454.7 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.963e-06/0.5558, allocations: 0 / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.5562, allocations: 399 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.5562, allocations: 11.44 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.5563, allocations: 149.8 kB / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.5565, allocations: 196.6 kB / 0.8219 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.5566, allocations: 23.06 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.557, allocations: 284.8 kB / 0.8222 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.5573, allocations: 384.9 kB / 0.8226 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.5576, allocations: 341 kB / 0.8229 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.5588, allocations: 1.164 MB / 0.8241 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5588, allocations: 4 kB / 0.8241 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5588, allocations: 0 / 0.8241 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.5588, allocations: 5 kB / 0.8241 GB, free: 13.71 MB / 0.6198 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.001505/0.5603, allocations: 1.186 MB / 0.8252 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5604, allocations: 10.62 kB / 0.8252 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.5604, allocations: 46.16 kB / 0.8253 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.5608, allocations: 152.4 kB / 0.8254 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003748/0.5646, allocations: 4.22 MB / 0.8296 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5646, allocations: 9.875 kB / 0.8296 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5646, allocations: 21.56 kB / 0.8296 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.5653, allocations: 0.6287 MB / 0.8302 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5653, allocations: 0.9844 kB / 0.8302 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.5653, allocations: 9.438 kB / 0.8302 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5653, allocations: 3.812 kB / 0.8302 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.5663, allocations: 1.102 MB / 0.8313 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.5693, allocations: 3.009 MB / 0.8342 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.5698, allocations: 338.8 kB / 0.8346 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.5701, allocations: 218 kB / 0.8348 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.5701, allocations: 27.45 kB / 0.8348 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.5701, allocations: 36.88 kB / 0.8348 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.5701, allocations: 0 / 0.8348 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009277/0.5711, allocations: 0.7197 MB / 0.8355 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.5711, allocations: 58.44 kB / 0.8356 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005892/0.577, allocations: 6.496 MB / 0.8419 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.577, allocations: 34.77 kB / 0.842 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5773, allocations: 427.9 kB / 0.8424 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.5774, allocations: 67.58 kB / 0.8424 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.5774, allocations: 56.91 kB / 0.8425 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.5775, allocations: 317.8 kB / 0.8428 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.578, allocations: 0.5315 MB / 0.8433 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.5784, allocations: 0.5511 MB / 0.8438 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.5791, allocations: 0.7681 MB / 0.8446 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5792, allocations: 0 / 0.8446 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001172/0.5803, allocations: 1.235 MB / 0.8458 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5803, allocations: 8.578 kB / 0.8458 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5804, allocations: 1.156 kB / 0.8458 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.5804, allocations: 1.156 kB / 0.8458 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.5806, allocations: 64.33 kB / 0.8459 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5806, allocations: 2.406 kB / 0.8459 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.5809, allocations: 46.55 kB / 0.8459 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.581, allocations: 16.12 kB / 0.8459 GB, free: 4.898 MB / 0.6198 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.0002732/0.5812, allocations: 283.2 kB / 0.8462 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5814, allocations: 95.95 kB / 0.8463 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.582, allocations: 0.5607 MB / 0.8468 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.582, allocations: 2.5 kB / 0.8468 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.582, allocations: 0 / 0.8468 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.582, allocations: 3.938 kB / 0.8468 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.5845, allocations: 2.669 MB / 0.8495 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5845, allocations: 3.969 kB / 0.8495 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.5847, allocations: 52.52 kB / 0.8495 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5847, allocations: 5.906 kB / 0.8495 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.5847, allocations: 15.66 kB / 0.8495 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.5847, allocations: 9.594 kB / 0.8495 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5847, allocations: 8.469 kB / 0.8495 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.5854, allocations: 0.679 MB / 0.8502 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.5856, allocations: 186 kB / 0.8504 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/0.5857, allocations: 19.08 kB / 0.8504 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.5859, allocations: 23.3 kB / 0.8504 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.5859, allocations: 26.86 kB / 0.8505 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.5859, allocations: 17.7 kB / 0.8505 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00351/0.5894, allocations: 5.153 MB / 0.8555 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5894, allocations: 0 / 0.8555 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005734/0.59, allocations: 191.8 kB / 0.8557 GB, free: 14.44 MB / 0.6355 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.0009676/0.591, allocations: 1.292 MB / 0.8569 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.5917, allocations: 0.7663 MB / 0.8577 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5917, allocations: 0 / 0.8577 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.5919, allocations: 224.6 kB / 0.8579 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.5925, allocations: 200.3 kB / 0.8581 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.6086, allocations: 22.94 MB / 0.8805 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6089, allocations: 407.2 kB / 0.8809 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000301/0.6092, allocations: 149.4 kB / 0.881 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6095, allocations: 295.3 kB / 0.8813 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of SimCode: time 2.044e-06/0.6095, allocations: 0 / 0.8813 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.6477, allocations: 25.66 MB / 0.9064 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.773, allocations: 4.062 kB / 0.9064 GB, free: 10.5 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.746743679977953] Failed to read output from testmodel.py, exit status != 0: 7.861014453228563 7.87547455 7.314005234 Calling exit ...