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.0008146/0.0008146, 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.0009983/0.0009983, allocations: 170.3 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.899/0.899, 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.7255/0.7255, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.184e-06/2.184e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.95e-05, allocations: 8.953 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003271/0.003301, allocations: 2.068 MB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.005521, allocations: 1.305 MB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.005602, allocations: 4 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.006076, allocations: 242.9 kB / 0.6217 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006466/0.006723, allocations: 453.1 kB / 0.6221 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.57e-06/0.006728, allocations: 4 kB / 0.6221 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.006995, allocations: 414.3 kB / 0.6225 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.00704, allocations: 8.594 kB / 0.6225 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.007175, allocations: 191.4 kB / 0.6227 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.007328, allocations: 179.4 kB / 0.6228 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.007351, allocations: 24 kB / 0.6229 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.007681, allocations: 275.6 kB / 0.6231 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.0079, allocations: 407 kB / 0.6235 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.008068, allocations: 271.3 kB / 0.6238 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.008851, allocations: 1.156 MB / 0.6249 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.008853, allocations: 4 kB / 0.6249 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.008854, allocations: 0 / 0.6249 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.008863, allocations: 0 / 0.6249 GB, free: 6.668 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.001163/0.01003, allocations: 1.199 MB / 0.6261 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01006, allocations: 8.031 kB / 0.6261 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.0101, allocations: 50.73 kB / 0.6261 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.01047, allocations: 156.2 kB / 0.6263 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.01312, allocations: 4.232 MB / 0.6304 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.01313, allocations: 8.375 kB / 0.6304 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.01315, allocations: 16.38 kB / 0.6304 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.01372, allocations: 0.6313 MB / 0.6311 GB, free: 288 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01373, allocations: 192 / 0.6311 GB, free: 288 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.01375, allocations: 8.125 kB / 0.6311 GB, free: 280 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.01376, allocations: 4 kB / 0.6311 GB, free: 276 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009489/0.01471, allocations: 1.109 MB / 0.6322 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.01731, allocations: 3.006 MB / 0.6351 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.01778, allocations: 342.6 kB / 0.6354 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.01813, allocations: 224.8 kB / 0.6356 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.01816, allocations: 19.98 kB / 0.6356 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.01818, allocations: 38.5 kB / 0.6357 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.01818, allocations: 0 / 0.6357 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0007858/0.01897, allocations: 0.7297 MB / 0.6364 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.019, allocations: 55.41 kB / 0.6364 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/0.02382, allocations: 6.509 MB / 0.6428 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.02384, allocations: 25.7 kB / 0.6428 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.02408, allocations: 416.5 kB / 0.6432 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.02412, allocations: 63.44 kB / 0.6433 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.02419, allocations: 57.69 kB / 0.6433 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.02428, allocations: 318 kB / 0.6436 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.0247, allocations: 0.531 MB / 0.6442 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.02512, allocations: 0.5522 MB / 0.6447 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.02576, allocations: 0.7703 MB / 0.6455 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02576, allocations: 0 / 0.6455 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001025/0.02679, allocations: 1.232 MB / 0.6467 GB, free: 156 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.0268, allocations: 11.94 kB / 0.6467 GB, free: 144 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.02681, allocations: 3.938 kB / 0.6467 GB, free: 140 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.02682, allocations: 0 / 0.6467 GB, free: 140 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.027, allocations: 63.95 kB / 0.6467 GB, free: 76 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.02701, allocations: 0 / 0.6467 GB, free: 76 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.02721, allocations: 47.77 kB / 0.6468 GB, free: 28 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.02723, allocations: 24.02 kB / 0.6468 GB, free: 4 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.0002192/0.02745, allocations: 286.6 kB / 0.6471 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.02754, allocations: 91.39 kB / 0.6472 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006968/0.02824, allocations: 0.5652 MB / 0.6477 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02825, allocations: 4 kB / 0.6477 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02825, allocations: 0 / 0.6477 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02825, allocations: 0 / 0.6477 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.03022, allocations: 2.673 MB / 0.6503 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.03023, allocations: 4 kB / 0.6503 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.03034, allocations: 55.88 kB / 0.6504 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.03035, allocations: 11.88 kB / 0.6504 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.03036, allocations: 12 kB / 0.6504 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.03036, allocations: 4.438 kB / 0.6504 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.03037, allocations: 15.94 kB / 0.6504 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/0.03119, allocations: 0.6705 MB / 0.6511 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.03136, allocations: 195.1 kB / 0.6513 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.03143, allocations: 19.98 kB / 0.6513 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.03162, allocations: 31.98 kB / 0.6513 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.03165, allocations: 27.84 kB / 0.6513 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.03166, allocations: 16 kB / 0.6514 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002876/0.03454, allocations: 5.153 MB / 0.6564 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.03454, allocations: 3.938 kB / 0.6564 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003879/0.03493, allocations: 187.9 kB / 0.6566 GB, free: 5.789 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.0008708/0.0358, allocations: 1.298 MB / 0.6578 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008709/0.03667, allocations: 0.7663 MB / 0.6586 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.03667, allocations: 0 / 0.6586 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.03688, allocations: 220.9 kB / 0.6588 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.03742, allocations: 204.1 kB / 0.659 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2357/0.2731, allocations: 22.9 MB / 0.6814 GB, free: 98.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2733, allocations: 402.7 kB / 0.6817 GB, free: 98.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.2736, allocations: 145.5 kB / 0.6819 GB, free: 98.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.2739, allocations: 306.7 kB / 0.6822 GB, free: 98.04 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/0.2739, allocations: 0 / 0.6822 GB, free: 98.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.3105, allocations: 25.31 MB / 0.7069 GB, free: 95.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.478, allocations: 8.422 kB / 0.7069 GB, free: 95.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.166833686642349] Failed to read output from testmodel.py, exit status != 0: 7.569015700370073 7.575482202 7.564848442 Calling exit ...