Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001193/0.001193, 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.001125/0.001125, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9354/0.9354, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7558/0.7558, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 3.984 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.191e-05, allocations: 7.141 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002119/0.002141, allocations: 1.946 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003644, allocations: 1.317 MB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.003713, allocations: 0 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.004177, allocations: 235 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006907/0.004867, allocations: 458.2 kB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.771e-06/0.004873, allocations: 0 / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.005146, allocations: 406.3 kB / 0.6223 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.005195, allocations: 8.594 kB / 0.6223 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.005325, allocations: 191.4 kB / 0.6225 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.005489, allocations: 179.4 kB / 0.6226 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.005512, allocations: 24 kB / 0.6227 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.005861, allocations: 283.5 kB / 0.6229 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.006087, allocations: 411 kB / 0.6233 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.00625, allocations: 279.3 kB / 0.6236 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007216/0.006971, allocations: 1.145 MB / 0.6247 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006974, allocations: 0 / 0.6247 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006975, allocations: 4 kB / 0.6247 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.006981, allocations: 0 / 0.6247 GB, free: 6.883 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.001049/0.00803, allocations: 1.195 MB / 0.6259 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.008067, allocations: 9.469 kB / 0.6259 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.008109, allocations: 54.73 kB / 0.6259 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.008468, allocations: 156.2 kB / 0.6261 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.01125, allocations: 4.228 MB / 0.6302 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01126, allocations: 12.38 kB / 0.6302 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.01128, allocations: 12.38 kB / 0.6302 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.01181, allocations: 0.6308 MB / 0.6309 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.01182, allocations: 192 / 0.6309 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.01183, allocations: 16.06 kB / 0.6309 GB, free: 496 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.01184, allocations: 4 kB / 0.6309 GB, free: 492 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00082/0.01266, allocations: 1.105 MB / 0.632 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.01494, allocations: 3.006 MB / 0.6349 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.01541, allocations: 342.6 kB / 0.6352 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.01562, allocations: 224.7 kB / 0.6354 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.01566, allocations: 23.98 kB / 0.6355 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.01567, allocations: 38.5 kB / 0.6355 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.01568, allocations: 0 / 0.6355 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.000774/0.01645, allocations: 0.7218 MB / 0.6362 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.01648, allocations: 59.41 kB / 0.6363 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.02092, allocations: 6.501 MB / 0.6426 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.02094, allocations: 29.7 kB / 0.6426 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.02117, allocations: 416.5 kB / 0.643 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.0212, allocations: 63.44 kB / 0.6431 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.02128, allocations: 61.69 kB / 0.6432 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.02136, allocations: 322 kB / 0.6435 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.02174, allocations: 0.5271 MB / 0.644 GB, free: 2.938 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.02213, allocations: 0.5522 MB / 0.6445 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.02274, allocations: 0.7689 MB / 0.6453 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.02274, allocations: 8 kB / 0.6453 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009216/0.02367, allocations: 1.229 MB / 0.6465 GB, free: 372 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.02368, allocations: 4 kB / 0.6465 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.02369, allocations: 3.938 kB / 0.6465 GB, free: 364 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.0237, allocations: 4 kB / 0.6465 GB, free: 360 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.02386, allocations: 67.89 kB / 0.6465 GB, free: 292 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.02387, allocations: 4.031 kB / 0.6466 GB, free: 288 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.02406, allocations: 47.77 kB / 0.6466 GB, free: 240 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.02408, allocations: 11.98 kB / 0.6466 GB, free: 228 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.0002121/0.02429, allocations: 282.7 kB / 0.6469 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.02438, allocations: 95.39 kB / 0.647 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/0.02495, allocations: 0.5703 MB / 0.6475 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.02495, allocations: 0 / 0.6475 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.02496, allocations: 4 kB / 0.6475 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.02496, allocations: 0 / 0.6475 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.02695, allocations: 2.669 MB / 0.6501 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.02696, allocations: 4 kB / 0.6501 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.02708, allocations: 52.48 kB / 0.6502 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.02708, allocations: 11.94 kB / 0.6502 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.02709, allocations: 8 kB / 0.6502 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.0271, allocations: 8 kB / 0.6502 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.0271, allocations: 7.938 kB / 0.6502 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.02767, allocations: 0.6797 MB / 0.6509 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.02785, allocations: 203 kB / 0.6511 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.02792, allocations: 12 kB / 0.6511 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.02811, allocations: 31.98 kB / 0.6511 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.02815, allocations: 31.84 kB / 0.6512 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.02816, allocations: 8 kB / 0.6512 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002958/0.03112, allocations: 5.157 MB / 0.6562 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.03112, allocations: 0 / 0.6562 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003768/0.03149, allocations: 195.9 kB / 0.6564 GB, free: 6 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.0009285/0.03242, allocations: 1.293 MB / 0.6576 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006873/0.03311, allocations: 0.7658 MB / 0.6584 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03311, allocations: 4 kB / 0.6584 GB, free: 3.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.03333, allocations: 232.8 kB / 0.6586 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.03389, allocations: 190.3 kB / 0.6588 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.267/0.3009, allocations: 22.9 MB / 0.6812 GB, free: 98.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3011, allocations: 406.1 kB / 0.6816 GB, free: 98.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000275/0.3014, allocations: 144.1 kB / 0.6817 GB, free: 98.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.3016, allocations: 309.1 kB / 0.682 GB, free: 97.89 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/0.3016, allocations: 0 / 0.682 GB, free: 97.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.333, allocations: 25.31 MB / 0.7067 GB, free: 94.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.737, allocations: 9.219 kB / 0.7067 GB, free: 94.92 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.64911752101034] Failed to read output from testmodel.py, exit status != 0: 7.825090078637004 7.833950566 7.825188674 Calling exit ...