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.0009727/0.0009727, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001148/0.001148, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9625/0.9625, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.8041/0.8041, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [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.001126/0.001126, allocations: 61.88 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5603/0.5615, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002388/0.5639, allocations: 2.061 MB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.5656, allocations: 1.311 MB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.5657, allocations: 0 / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.5663, allocations: 241.3 kB / 0.8213 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.5673, allocations: 445.2 kB / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.265e-06/0.5673, allocations: 0 / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.5677, allocations: 394.1 kB / 0.8221 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.82e-05/0.5678, allocations: 12.42 kB / 0.8222 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.5679, allocations: 144.5 kB / 0.8223 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.5682, allocations: 202.6 kB / 0.8225 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.5682, allocations: 23.09 kB / 0.8225 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.5687, allocations: 280.3 kB / 0.8228 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.569, allocations: 394.5 kB / 0.8231 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.5693, allocations: 337.4 kB / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.5705, allocations: 1.175 MB / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5705, allocations: 0 / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5705, allocations: 1.5 kB / 0.8246 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5705, allocations: 0 / 0.8246 GB, free: 13.44 MB / 0.6198 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.00149/0.572, allocations: 1.185 MB / 0.8258 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.572, allocations: 10.47 kB / 0.8258 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/0.5721, allocations: 54.7 kB / 0.8258 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004769/0.5726, allocations: 156.6 kB / 0.826 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/0.5768, allocations: 4.219 MB / 0.8301 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.5769, allocations: 9.688 kB / 0.8301 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.5769, allocations: 15.14 kB / 0.8301 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008039/0.5777, allocations: 0.6325 MB / 0.8307 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5777, allocations: 0.5156 kB / 0.8307 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.5777, allocations: 5.375 kB / 0.8308 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.5777, allocations: 3.125 kB / 0.8308 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.579, allocations: 1.102 MB / 0.8318 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.5827, allocations: 3.006 MB / 0.8348 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.5833, allocations: 338.5 kB / 0.8351 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.5837, allocations: 226.1 kB / 0.8353 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.5837, allocations: 26.28 kB / 0.8353 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5838, allocations: 38.45 kB / 0.8354 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 3.065e-06/0.5838, allocations: 0 / 0.8354 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001295/0.5851, allocations: 0.7195 MB / 0.8361 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.5851, allocations: 62.02 kB / 0.8361 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007256/0.5924, allocations: 6.499 MB / 0.8425 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/0.5925, allocations: 27.08 kB / 0.8425 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.5928, allocations: 424.2 kB / 0.8429 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.5928, allocations: 67.8 kB / 0.843 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5929, allocations: 57.22 kB / 0.843 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.593, allocations: 316.4 kB / 0.8433 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.5936, allocations: 0.532 MB / 0.8438 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.5941, allocations: 0.5516 MB / 0.8444 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.5949, allocations: 0.7676 MB / 0.8451 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5949, allocations: 4 kB / 0.8451 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001507/0.5964, allocations: 1.229 MB / 0.8463 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.5964, allocations: 9.578 kB / 0.8464 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.5965, allocations: 0.9062 kB / 0.8464 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.5965, allocations: 1.188 kB / 0.8464 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.5967, allocations: 69.14 kB / 0.8464 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5967, allocations: 5.438 kB / 0.8464 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.5971, allocations: 44.17 kB / 0.8465 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5972, allocations: 7.094 kB / 0.8465 GB, free: 4.547 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.0003847/0.5975, allocations: 283.3 kB / 0.8467 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5977, allocations: 100.2 kB / 0.8468 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/0.5985, allocations: 0.5583 MB / 0.8474 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5985, allocations: 1.406 kB / 0.8474 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.5985, allocations: 1.375 kB / 0.8474 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5985, allocations: 0 / 0.8474 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.6012, allocations: 2.669 MB / 0.85 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6012, allocations: 4.406 kB / 0.85 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.6014, allocations: 57.08 kB / 0.8501 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.6014, allocations: 8.625 kB / 0.8501 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.6014, allocations: 7.656 kB / 0.8501 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.6014, allocations: 9.562 kB / 0.8501 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.6014, allocations: 4.844 kB / 0.8501 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.6021, allocations: 0.6954 MB / 0.8508 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.6024, allocations: 182.6 kB / 0.8509 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/0.6025, allocations: 11.14 kB / 0.8509 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.6027, allocations: 26.2 kB / 0.851 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.6027, allocations: 26.58 kB / 0.851 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.6027, allocations: 14.17 kB / 0.851 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003818/0.6066, allocations: 5.154 MB / 0.856 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6066, allocations: 4 kB / 0.856 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006901/0.6073, allocations: 191.8 kB / 0.8562 GB, free: 13.91 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.001089/0.6083, allocations: 1.292 MB / 0.8575 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007379/0.6091, allocations: 0.7651 MB / 0.8582 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.6091, allocations: 4 kB / 0.8582 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.6093, allocations: 224.8 kB / 0.8585 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.61, allocations: 192.2 kB / 0.8586 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.6277, allocations: 22.93 MB / 0.881 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.6282, allocations: 407.2 kB / 0.8814 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.6286, allocations: 153.4 kB / 0.8816 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.629, allocations: 295.3 kB / 0.8818 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of SimCode: time 2.275e-06/0.629, allocations: 3.938 kB / 0.8818 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.6714, allocations: 25.66 MB / 0.9069 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.692, allocations: 15.84 kB / 0.9069 GB, free: 9.973 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.70277476683259] Failed to read output from testmodel.py, exit status != 0: 7.779986422043294 7.786778183 7.214540282 Calling exit ...