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.0008025/0.0008025, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008161/0.0008161, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9011/0.9011, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7169/0.7169, allocations: 154.6 MB / 413.8 MB, free: 0.7695 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.275e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002415/0.002438, allocations: 1.943 MB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.004259, allocations: 1.317 MB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.004335, allocations: 4 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.004838, allocations: 235 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007687/0.005607, allocations: 454.2 kB / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.013e-06/0.005614, allocations: 0 / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.005912, allocations: 398.4 kB / 0.6223 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.005969, allocations: 20.52 kB / 0.6224 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.006127, allocations: 191.4 kB / 0.6225 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.006306, allocations: 191.3 kB / 0.6227 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.006332, allocations: 24 kB / 0.6227 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.00669, allocations: 279.5 kB / 0.623 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.006924, allocations: 403 kB / 0.6234 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.0071, allocations: 275.3 kB / 0.6237 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.007882, allocations: 1.156 MB / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007886, allocations: 0 / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.323e-06/0.007887, allocations: 0 / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.007896, allocations: 0 / 0.6248 GB, free: 6.773 MB / 0.5886 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.001207/0.009102, allocations: 1.195 MB / 0.626 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.009149, allocations: 12.03 kB / 0.626 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.009201, allocations: 46.73 kB / 0.626 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.009606, allocations: 156.2 kB / 0.6262 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.01224, allocations: 4.228 MB / 0.6303 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.01226, allocations: 16.3 kB / 0.6303 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.01229, allocations: 16.38 kB / 0.6303 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.01285, allocations: 0.6275 MB / 0.6309 GB, free: 400 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01286, allocations: 192 / 0.6309 GB, free: 400 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.01288, allocations: 8.125 kB / 0.6309 GB, free: 392 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01288, allocations: 4 kB / 0.6309 GB, free: 388 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.01374, allocations: 1.109 MB / 0.632 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.01623, allocations: 3.014 MB / 0.635 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.01678, allocations: 334.6 kB / 0.6353 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.01705, allocations: 224.8 kB / 0.6355 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.01709, allocations: 23.98 kB / 0.6355 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.01711, allocations: 34.55 kB / 0.6356 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 3.196e-06/0.01712, allocations: 0 / 0.6356 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0008079/0.01792, allocations: 0.7275 MB / 0.6363 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.01796, allocations: 55.41 kB / 0.6363 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004815/0.02278, allocations: 6.505 MB / 0.6427 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.0228, allocations: 25.7 kB / 0.6427 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.02305, allocations: 420.5 kB / 0.6431 GB, free: 3.805 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.02309, allocations: 67.42 kB / 0.6432 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.02317, allocations: 57.69 kB / 0.6432 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.02325, allocations: 314 kB / 0.6435 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.02365, allocations: 0.5388 MB / 0.644 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.02406, allocations: 0.556 MB / 0.6446 GB, free: 2.262 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.02467, allocations: 0.7742 MB / 0.6453 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02468, allocations: 4 kB / 0.6454 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009805/0.02566, allocations: 1.22 MB / 0.6465 GB, free: 260 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.02568, allocations: 11.98 kB / 0.6466 GB, free: 248 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.02569, allocations: 3.938 kB / 0.6466 GB, free: 244 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.0257, allocations: 0 / 0.6466 GB, free: 244 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.02589, allocations: 67.89 kB / 0.6466 GB, free: 176 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.0259, allocations: 8.031 kB / 0.6466 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.02615, allocations: 43.83 kB / 0.6467 GB, free: 124 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.02617, allocations: 8 kB / 0.6467 GB, free: 116 kB / 0.6042 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.0002285/0.0264, allocations: 282.6 kB / 0.6469 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.02649, allocations: 99.39 kB / 0.647 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006479/0.02714, allocations: 0.5617 MB / 0.6476 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02714, allocations: 4 kB / 0.6476 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.02715, allocations: 0 / 0.6476 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02715, allocations: 0 / 0.6476 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.0296, allocations: 2.673 MB / 0.6502 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.02961, allocations: 8 kB / 0.6502 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.02974, allocations: 56.48 kB / 0.6503 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.02975, allocations: 11.94 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.02977, allocations: 8 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.02977, allocations: 7.938 kB / 0.6503 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02978, allocations: 4 kB / 0.6503 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.03038, allocations: 0.6858 MB / 0.651 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.03057, allocations: 191.1 kB / 0.6511 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.611e-05/0.03064, allocations: 19.98 kB / 0.6512 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.03084, allocations: 31.98 kB / 0.6512 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.03088, allocations: 23.86 kB / 0.6512 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.03089, allocations: 15.98 kB / 0.6512 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003173/0.03406, allocations: 5.157 MB / 0.6563 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.8e-07/0.03406, allocations: 0 / 0.6563 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004506/0.03451, allocations: 191.9 kB / 0.6565 GB, free: 5.895 MB / 0.6198 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.0009755/0.03549, allocations: 1.287 MB / 0.6577 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.0362, allocations: 0.7702 MB / 0.6585 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03621, allocations: 0 / 0.6585 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.03642, allocations: 220.9 kB / 0.6587 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.03705, allocations: 208.9 kB / 0.6589 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2891/0.3261, allocations: 22.9 MB / 0.6812 GB, free: 98.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3264, allocations: 405.8 kB / 0.6816 GB, free: 98.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003046/0.3267, allocations: 145.7 kB / 0.6818 GB, free: 98.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3269, allocations: 303.6 kB / 0.6821 GB, free: 98 MB / 0.6355 GB Notification: Performance of SimCode: time 2.044e-06/0.3269, allocations: 0 / 0.6821 GB, free: 98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.3645, allocations: 25.31 MB / 0.7068 GB, free: 95.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.781, allocations: 4.438 kB / 0.7068 GB, free: 95.03 MB / 0.6355 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.617427878081799] Failed to read output from testmodel.py, exit status != 0: 7.8745326809585094 7.888683382 7.878061042 Calling exit ...