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.001192/0.001192, 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.00148/0.00148, 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.9395/0.9395, allocations: 177.2 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.7361/0.7361, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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 2.344e-06/2.344e-06, allocations: 0 / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.733e-05, allocations: 4.906 kB / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002767/0.002804, allocations: 2.071 MB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.004525, allocations: 1.301 MB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.004625, allocations: 0 / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.00512, allocations: 239 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.005892, allocations: 458.2 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.476e-06/0.005901, allocations: 0 / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.006197, allocations: 402.3 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.006244, allocations: 12.59 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.006393, allocations: 191.4 kB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.006558, allocations: 187.4 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.006581, allocations: 24 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.006958, allocations: 279.5 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.007188, allocations: 410.9 kB / 0.6235 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.007359, allocations: 271.3 kB / 0.6237 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.008621, allocations: 1.149 MB / 0.6248 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.008624, allocations: 0 / 0.6248 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008625, allocations: 0 / 0.6248 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.008642, allocations: 0 / 0.6248 GB, free: 6.566 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.001824/0.01047, allocations: 1.203 MB / 0.626 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.01052, allocations: 13.47 kB / 0.626 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.01058, allocations: 54.73 kB / 0.6261 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005385/0.01111, allocations: 148.2 kB / 0.6262 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.01481, allocations: 4.228 MB / 0.6303 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.01484, allocations: 12.38 kB / 0.6304 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.01487, allocations: 12.38 kB / 0.6304 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.01559, allocations: 0.6269 MB / 0.631 GB, free: 188 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01559, allocations: 8.125 kB / 0.631 GB, free: 180 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.01562, allocations: 12.12 kB / 0.631 GB, free: 168 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.01562, allocations: 4 kB / 0.631 GB, free: 164 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.0167, allocations: 1.101 MB / 0.6321 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.01915, allocations: 3.002 MB / 0.635 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.01963, allocations: 342.6 kB / 0.6353 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.01984, allocations: 224.7 kB / 0.6356 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.01988, allocations: 27.92 kB / 0.6356 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.0199, allocations: 38.5 kB / 0.6356 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.0199, allocations: 4 kB / 0.6356 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.000795/0.02069, allocations: 0.7257 MB / 0.6363 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.02073, allocations: 51.41 kB / 0.6364 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004789/0.02552, allocations: 6.501 MB / 0.6427 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.02554, allocations: 29.7 kB / 0.6428 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.02579, allocations: 428.4 kB / 0.6432 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.02583, allocations: 67.44 kB / 0.6432 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.02591, allocations: 57.69 kB / 0.6433 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.026, allocations: 318 kB / 0.6436 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.02641, allocations: 0.5232 MB / 0.6441 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.02683, allocations: 0.56 MB / 0.6446 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.02745, allocations: 0.7728 MB / 0.6454 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.02745, allocations: 0 / 0.6454 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009485/0.0284, allocations: 1.225 MB / 0.6466 GB, free: 44 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02841, allocations: 4 kB / 0.6466 GB, free: 40 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.02842, allocations: 7.938 kB / 0.6466 GB, free: 32 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.02844, allocations: 4.031 kB / 0.6466 GB, free: 28 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.02862, allocations: 67.97 kB / 0.6467 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.02863, allocations: 7.984 kB / 0.6467 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.02884, allocations: 43.83 kB / 0.6467 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.02885, allocations: 8 kB / 0.6467 GB, free: 15.9 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.0002368/0.02909, allocations: 274.7 kB / 0.647 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.02919, allocations: 107.3 kB / 0.6471 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.02979, allocations: 0.5586 MB / 0.6476 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.02979, allocations: 4 kB / 0.6476 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.0298, allocations: 3.984 kB / 0.6476 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.0298, allocations: 0 / 0.6476 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.03193, allocations: 2.677 MB / 0.6503 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.03193, allocations: 4 kB / 0.6503 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.03206, allocations: 51.91 kB / 0.6503 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.03207, allocations: 11.94 kB / 0.6503 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.03209, allocations: 7.984 kB / 0.6503 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.03209, allocations: 8 kB / 0.6503 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.0321, allocations: 7.938 kB / 0.6503 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.03269, allocations: 0.6836 MB / 0.651 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.03287, allocations: 191.1 kB / 0.6512 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.03294, allocations: 12 kB / 0.6512 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.03314, allocations: 31.98 kB / 0.6512 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.03318, allocations: 31.78 kB / 0.6513 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.03319, allocations: 12 kB / 0.6513 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003081/0.03627, allocations: 5.164 MB / 0.6563 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.03627, allocations: 4 kB / 0.6563 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004201/0.03669, allocations: 183.9 kB / 0.6565 GB, free: 5.68 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.0009795/0.03767, allocations: 1.293 MB / 0.6578 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006614/0.03833, allocations: 0.7658 MB / 0.6585 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03833, allocations: 0 / 0.6585 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.03854, allocations: 224.1 kB / 0.6587 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.03911, allocations: 200.8 kB / 0.6589 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2622/0.3013, allocations: 22.91 MB / 0.6813 GB, free: 98.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3016, allocations: 406.2 kB / 0.6817 GB, free: 98.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000383/0.302, allocations: 146.6 kB / 0.6818 GB, free: 98.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.3023, allocations: 307.8 kB / 0.6821 GB, free: 98.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.814e-06/0.3023, allocations: 0.75 kB / 0.6821 GB, free: 98.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.3416, allocations: 25.31 MB / 0.7068 GB, free: 95.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.64, allocations: 13.84 kB / 0.7068 GB, free: 95.08 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 & /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.455572636798024] Failed to read output from testmodel.py, exit status != 0: 7.731377108022571 7.741542401 7.731315566 Calling exit ...