Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008129/0.0008129, 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.001398/0.001398, 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.906/0.906, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7373/0.7373, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.WetFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.831e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002209/0.002228, allocations: 2.069 MB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003863, allocations: 1.293 MB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.003933, allocations: 7.938 kB / 0.6214 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.004405, allocations: 235 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.005027, allocations: 462.1 kB / 0.622 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.111e-06/0.005033, allocations: 0 / 0.622 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.005287, allocations: 402.4 kB / 0.6224 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.005338, allocations: 8.594 kB / 0.6224 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.005471, allocations: 195.4 kB / 0.6226 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.005638, allocations: 183.4 kB / 0.6228 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.005664, allocations: 24 kB / 0.6228 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.006005, allocations: 279.6 kB / 0.6231 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.006262, allocations: 410.9 kB / 0.6235 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.00644, allocations: 271.3 kB / 0.6237 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.007265, allocations: 1.149 MB / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007268, allocations: 0 / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.007269, allocations: 0 / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.007276, 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.001141/0.008417, allocations: 1.207 MB / 0.626 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.008454, allocations: 9.469 kB / 0.626 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.008498, allocations: 54.73 kB / 0.6261 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.008859, allocations: 156.2 kB / 0.6262 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.01156, allocations: 4.228 MB / 0.6303 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.01158, allocations: 8.375 kB / 0.6304 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.0116, allocations: 16.38 kB / 0.6304 GB, free: 1.016 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.01217, allocations: 0.6307 MB / 0.631 GB, free: 388 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.01218, allocations: 192 / 0.631 GB, free: 388 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.0122, allocations: 12.12 kB / 0.631 GB, free: 376 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.01221, allocations: 4 kB / 0.631 GB, free: 372 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008479/0.01306, allocations: 1.101 MB / 0.6321 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.01541, allocations: 3.002 MB / 0.635 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.01603, allocations: 342.7 kB / 0.6353 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01624, allocations: 228.6 kB / 0.6356 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.01628, allocations: 23.98 kB / 0.6356 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.0163, allocations: 30.56 kB / 0.6356 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.0163, allocations: 0 / 0.6356 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0007824/0.01708, allocations: 0.7294 MB / 0.6363 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.01711, allocations: 59.34 kB / 0.6364 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00479/0.0219, allocations: 6.505 MB / 0.6427 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.02192, allocations: 29.69 kB / 0.6428 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.02217, allocations: 416.5 kB / 0.6432 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.02221, allocations: 63.44 kB / 0.6432 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.02228, allocations: 65.69 kB / 0.6433 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.02236, allocations: 318 kB / 0.6436 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.02275, allocations: 0.5271 MB / 0.6441 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.02317, allocations: 0.5522 MB / 0.6446 GB, free: 2.262 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.0238, allocations: 0.7689 MB / 0.6454 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.0238, allocations: 0 / 0.6454 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001348/0.02515, allocations: 1.233 MB / 0.6466 GB, free: 256 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.02517, allocations: 4 kB / 0.6466 GB, free: 252 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.02518, allocations: 3.938 kB / 0.6466 GB, free: 248 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.02519, allocations: 0 / 0.6466 GB, free: 248 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.02537, allocations: 79.91 kB / 0.6467 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.02537, allocations: 0 / 0.6467 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.02559, allocations: 47.77 kB / 0.6467 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.0256, allocations: 8 kB / 0.6467 GB, free: 112 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.0002294/0.02583, allocations: 286.6 kB / 0.647 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.02592, allocations: 91.39 kB / 0.6471 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000572/0.02649, allocations: 0.5705 MB / 0.6476 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0265, allocations: 0 / 0.6476 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.0265, allocations: 0 / 0.6476 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.02651, allocations: 0 / 0.6476 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.02856, allocations: 2.681 MB / 0.6503 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.02856, allocations: 4 kB / 0.6503 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.02868, allocations: 55.94 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.02869, allocations: 7.938 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.0287, allocations: 11.98 kB / 0.6503 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.02871, allocations: 7.938 kB / 0.6503 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.02871, allocations: 8 kB / 0.6504 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.02929, allocations: 0.6719 MB / 0.651 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.02947, allocations: 195.1 kB / 0.6512 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.02954, allocations: 19.94 kB / 0.6512 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.02973, allocations: 35.97 kB / 0.6513 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.02977, allocations: 23.8 kB / 0.6513 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.02978, allocations: 19.98 kB / 0.6513 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003023/0.03281, allocations: 5.153 MB / 0.6563 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.03281, allocations: 0 / 0.6563 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003992/0.03321, allocations: 195.9 kB / 0.6565 GB, free: 5.879 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.000885/0.03409, allocations: 1.289 MB / 0.6578 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006641/0.03476, allocations: 0.7697 MB / 0.6585 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03476, allocations: 0 / 0.6585 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.03497, allocations: 224.6 kB / 0.6587 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.03557, allocations: 199.4 kB / 0.6589 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2677/0.3033, allocations: 22.9 MB / 0.6813 GB, free: 98.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.3036, allocations: 404.9 kB / 0.6817 GB, free: 98.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.3039, allocations: 146.1 kB / 0.6818 GB, free: 98.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.3042, allocations: 308.1 kB / 0.6821 GB, free: 98.11 MB / 0.6355 GB Notification: Performance of SimCode: time 1.643e-06/0.3042, allocations: 0 / 0.6821 GB, free: 98.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.3448, allocations: 25.31 MB / 0.7068 GB, free: 95.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.628, allocations: 11.42 kB / 0.7068 GB, free: 95.13 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.456979361362755] Failed to read output from testmodel.py, exit status != 0: 7.718739185482264 7.734429579 7.724429039 Calling exit ...