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.0008948/0.0008948, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.00106/0.00106, allocations: 162 kB / 22.43 MB, free: 2.141 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.8972/0.8972, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.6835/0.6835, allocations: 155 MB / 414.2 MB, free: 476 kB / 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: 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.001018/0.001018, allocations: 70.34 kB / 0.6187 GB, free: 13.23 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4834, allocations: 102 MB / 0.7183 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002371/0.4857, allocations: 2.059 MB / 0.7203 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.4873, allocations: 1.315 MB / 0.7216 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.4874, allocations: 5.969 kB / 0.7216 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.4879, allocations: 233.1 kB / 0.7218 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000723/0.4886, allocations: 451.4 kB / 0.7222 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.652e-06/0.4886, allocations: 0 / 0.7222 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.4889, allocations: 396.7 kB / 0.7226 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.4889, allocations: 19.12 kB / 0.7226 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.4891, allocations: 194.6 kB / 0.7228 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.4893, allocations: 199.4 kB / 0.723 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.4893, allocations: 23.41 kB / 0.723 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.4897, allocations: 282 kB / 0.7233 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.49, allocations: 395.3 kB / 0.7237 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.4903, allocations: 332 kB / 0.724 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4916, allocations: 1.213 MB / 0.7252 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4916, allocations: 5.812 kB / 0.7252 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4916, allocations: 0 / 0.7252 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.4916, allocations: 0 / 0.7252 GB, free: 19.46 MB / 0.6355 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.001341/0.4929, allocations: 1.215 MB / 0.7263 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.493, allocations: 10.59 kB / 0.7264 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.493, allocations: 51.17 kB / 0.7264 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.4934, allocations: 152.1 kB / 0.7266 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.4966, allocations: 4.224 MB / 0.7307 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4967, allocations: 9.875 kB / 0.7307 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.4967, allocations: 14.84 kB / 0.7307 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.4973, allocations: 0.6377 MB / 0.7313 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4973, allocations: 9.094 kB / 0.7313 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.4974, allocations: 5.25 kB / 0.7313 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.4974, allocations: 3.781 kB / 0.7313 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4984, allocations: 1.099 MB / 0.7324 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.5013, allocations: 3.025 MB / 0.7354 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.5019, allocations: 334.5 kB / 0.7357 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.5021, allocations: 221.6 kB / 0.7359 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.5022, allocations: 28.98 kB / 0.7359 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.5022, allocations: 40.33 kB / 0.736 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.004e-06/0.5022, allocations: 0 / 0.736 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0009035/0.5031, allocations: 0.7225 MB / 0.7367 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5031, allocations: 54.78 kB / 0.7367 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/0.5089, allocations: 6.506 MB / 0.7431 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5089, allocations: 25.7 kB / 0.7431 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.5092, allocations: 426 kB / 0.7435 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.5093, allocations: 69.11 kB / 0.7436 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.5094, allocations: 57.14 kB / 0.7436 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.5094, allocations: 315.7 kB / 0.7439 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.51, allocations: 0.5269 MB / 0.7444 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.5105, allocations: 0.5577 MB / 0.745 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00072/0.5112, allocations: 0.7684 MB / 0.7457 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5112, allocations: 0 / 0.7457 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00122/0.5124, allocations: 1.244 MB / 0.747 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.5124, allocations: 5.5 kB / 0.747 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5124, allocations: 0 / 0.747 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.5125, allocations: 1.375 kB / 0.747 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.5127, allocations: 69.86 kB / 0.747 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5127, allocations: 1.375 kB / 0.747 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.513, allocations: 37.47 kB / 0.7471 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.513, allocations: 12.98 kB / 0.7471 GB, free: 11.1 MB / 0.6355 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.0002276/0.5133, allocations: 277.9 kB / 0.7473 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.5134, allocations: 107.1 kB / 0.7474 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.514, allocations: 0.561 MB / 0.748 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.514, allocations: 2.344 kB / 0.748 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5141, allocations: 0 / 0.748 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.5141, allocations: 6.578 kB / 0.748 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.5167, allocations: 2.666 MB / 0.7506 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5167, allocations: 5 kB / 0.7506 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.5168, allocations: 61.8 kB / 0.7507 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.5169, allocations: 9.719 kB / 0.7507 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5169, allocations: 8.578 kB / 0.7507 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.5169, allocations: 6 kB / 0.7507 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5169, allocations: 8.531 kB / 0.7507 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.5175, allocations: 0.6936 MB / 0.7514 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5177, allocations: 188.1 kB / 0.7516 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.5178, allocations: 13.38 kB / 0.7516 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.518, allocations: 33.53 kB / 0.7516 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.518, allocations: 32.61 kB / 0.7516 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.518, allocations: 12.05 kB / 0.7516 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003595/0.5216, allocations: 5.158 MB / 0.7567 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5216, allocations: 0 / 0.7567 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000635/0.5223, allocations: 192 kB / 0.7569 GB, free: 7.199 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.0009603/0.5232, allocations: 1.285 MB / 0.7581 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007957/0.524, allocations: 0.7664 MB / 0.7589 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.524, allocations: 0.9688 kB / 0.7589 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.5242, allocations: 228.6 kB / 0.7591 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.5249, allocations: 198 kB / 0.7593 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.5395, allocations: 22.96 MB / 0.7817 GB, free: 100 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.5398, allocations: 415.1 kB / 0.7821 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.5401, allocations: 149.3 kB / 0.7822 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.5404, allocations: 300.4 kB / 0.7825 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of SimCode: time 7.22e-07/0.5404, allocations: 4 kB / 0.7825 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.573, allocations: 25.38 MB / 0.8073 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.492, allocations: 17.69 kB / 0.8073 GB, free: 6.266 MB / 0.6823 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.208261603023857] Failed to read output from testmodel.py, exit status != 0: 7.580888911848888 7.590808355 7.097585099 Calling exit ...