Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.0007832/0.0007832, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000843/0.000843, 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.8886/0.8886, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7219/0.7219, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.758e-05, allocations: 9.312 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003625/0.003653, allocations: 2.077 MB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.005999, allocations: 1.305 MB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.006117, allocations: 4 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.006766, allocations: 235 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.007832, allocations: 454.2 kB / 0.6221 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.476e-06/0.00784, allocations: 0 / 0.6221 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.008236, allocations: 406.3 kB / 0.6225 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.008293, allocations: 8.594 kB / 0.6225 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.008505, allocations: 195.4 kB / 0.6227 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.008746, allocations: 191.4 kB / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.008782, allocations: 24 kB / 0.6229 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.009291, allocations: 279.5 kB / 0.6231 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.009592, allocations: 403 kB / 0.6235 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.009973, allocations: 275.3 kB / 0.6238 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.01108, allocations: 1.149 MB / 0.6249 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01108, allocations: 0 / 0.6249 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01108, allocations: 0 / 0.6249 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.01109, allocations: 0 / 0.6249 GB, free: 6.648 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.001741/0.01284, allocations: 1.203 MB / 0.6261 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.01288, allocations: 12.03 kB / 0.6261 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.01294, allocations: 46.73 kB / 0.6261 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.01352, allocations: 152.2 kB / 0.6263 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.01757, allocations: 4.232 MB / 0.6304 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.01759, allocations: 8.375 kB / 0.6304 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.01763, allocations: 16.38 kB / 0.6304 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007846/0.01841, allocations: 0.6353 MB / 0.6311 GB, free: 264 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01843, allocations: 192 / 0.6311 GB, free: 264 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.01845, allocations: 12.06 kB / 0.6311 GB, free: 252 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.01846, allocations: 4 kB / 0.6311 GB, free: 248 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.0197, allocations: 1.105 MB / 0.6321 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.0223, allocations: 3.014 MB / 0.6351 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.02278, allocations: 338.6 kB / 0.6354 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.02299, allocations: 220.8 kB / 0.6356 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.02302, allocations: 23.98 kB / 0.6356 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.02304, allocations: 34.56 kB / 0.6357 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.02304, allocations: 0 / 0.6357 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.000784/0.02382, allocations: 0.7297 MB / 0.6364 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.02386, allocations: 59.41 kB / 0.6365 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/0.02855, allocations: 6.497 MB / 0.6428 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.02857, allocations: 29.7 kB / 0.6428 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.0288, allocations: 424.5 kB / 0.6432 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.02883, allocations: 67.42 kB / 0.6433 GB, free: 3.602 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.0289, allocations: 57.69 kB / 0.6433 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.316e-05/0.02898, allocations: 322 kB / 0.6437 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.02935, allocations: 0.5271 MB / 0.6442 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.02974, allocations: 0.5522 MB / 0.6447 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.03046, allocations: 0.7781 MB / 0.6455 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.03046, allocations: 0 / 0.6455 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009197/0.03138, allocations: 1.22 MB / 0.6467 GB, free: 128 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.0314, allocations: 8 kB / 0.6467 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.03141, allocations: 7.969 kB / 0.6467 GB, free: 112 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.03142, allocations: 0 / 0.6467 GB, free: 112 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.03159, allocations: 71.89 kB / 0.6467 GB, free: 40 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.0316, allocations: 3.984 kB / 0.6467 GB, free: 36 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.03181, allocations: 43.88 kB / 0.6468 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.03182, allocations: 8 kB / 0.6468 GB, free: 15.98 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.0002097/0.03203, allocations: 290.6 kB / 0.6471 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.03212, allocations: 95.39 kB / 0.6472 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.03267, allocations: 0.5691 MB / 0.6477 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.03268, allocations: 3.984 kB / 0.6477 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03268, allocations: 0 / 0.6477 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.03268, allocations: 0 / 0.6477 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.03465, allocations: 2.677 MB / 0.6503 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.03465, allocations: 4 kB / 0.6503 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.03477, allocations: 47.91 kB / 0.6504 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.03477, allocations: 11.88 kB / 0.6504 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.03479, allocations: 11.98 kB / 0.6504 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.03479, allocations: 4 kB / 0.6504 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.0348, allocations: 7.938 kB / 0.6504 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.03535, allocations: 0.6824 MB / 0.6511 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.03553, allocations: 195.1 kB / 0.6513 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.0356, allocations: 12 kB / 0.6513 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.03579, allocations: 35.97 kB / 0.6513 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.03582, allocations: 23.86 kB / 0.6513 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.03584, allocations: 12 kB / 0.6514 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00305/0.03889, allocations: 5.164 MB / 0.6564 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.03889, allocations: 0 / 0.6564 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003921/0.03928, allocations: 191.9 kB / 0.6566 GB, free: 5.758 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.0009195/0.0402, allocations: 1.287 MB / 0.6578 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006705/0.04087, allocations: 0.7663 MB / 0.6586 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.04087, allocations: 0 / 0.6586 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.04108, allocations: 228.1 kB / 0.6588 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.04163, allocations: 196.9 kB / 0.659 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2804/0.322, allocations: 22.91 MB / 0.6814 GB, free: 98.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3223, allocations: 405.4 kB / 0.6817 GB, free: 98.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003877/0.3227, allocations: 143.1 kB / 0.6819 GB, free: 98.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.323, allocations: 310.2 kB / 0.6822 GB, free: 98.02 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/0.323, allocations: 0 / 0.6822 GB, free: 98.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.3666, allocations: 25.3 MB / 0.7069 GB, free: 95.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.736, allocations: 4.422 kB / 0.7069 GB, free: 95.05 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_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_WetFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.583903281018138] Failed to read output from testmodel.py, exit status != 0: 7.82894884981215 7.845364013 7.831260579 Calling exit ...