Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.0007839/0.0007839, 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.0007861/0.0007861, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9155/0.9155, allocations: 177.2 MB / 202.8 MB, free: 5.539 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.709/0.709, allocations: 154.6 MB / 413.8 MB, free: 0.7266 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.DryFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.048e-05, allocations: 4.656 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002608/0.002628, allocations: 1.944 MB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.004435, allocations: 1.309 MB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.00454, allocations: 4 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.005045, allocations: 242.9 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.005816, allocations: 458.2 kB / 0.622 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.733e-06/0.005823, allocations: 0 / 0.622 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.006151, allocations: 406.3 kB / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.006201, allocations: 8.594 kB / 0.6224 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.006368, allocations: 191.4 kB / 0.6225 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.006527, allocations: 187.4 kB / 0.6227 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.006551, allocations: 24 kB / 0.6227 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.006934, allocations: 279.5 kB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.007181, allocations: 407 kB / 0.6234 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.007376, allocations: 275.3 kB / 0.6237 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.008737, allocations: 1.145 MB / 0.6248 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.008741, allocations: 4 kB / 0.6248 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/0.008742, allocations: 3.938 kB / 0.6248 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.008756, allocations: 0 / 0.6248 GB, free: 6.77 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.001457/0.01021, allocations: 1.199 MB / 0.626 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01025, allocations: 8.031 kB / 0.626 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.01029, allocations: 50.73 kB / 0.626 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.01068, allocations: 156.2 kB / 0.6262 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.01353, allocations: 4.228 MB / 0.6303 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.01355, allocations: 8.375 kB / 0.6303 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.01357, allocations: 16.38 kB / 0.6303 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.01412, allocations: 0.6352 MB / 0.6309 GB, free: 392 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.01413, allocations: 192 / 0.6309 GB, free: 392 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.01415, allocations: 8.125 kB / 0.6309 GB, free: 384 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.01416, allocations: 8 kB / 0.6309 GB, free: 376 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/0.01499, allocations: 1.101 MB / 0.632 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.01731, allocations: 3.018 MB / 0.635 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.01779, allocations: 336.9 kB / 0.6353 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.01801, allocations: 220.7 kB / 0.6355 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.01805, allocations: 23.98 kB / 0.6355 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.01807, allocations: 38.5 kB / 0.6356 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.01807, allocations: 0 / 0.6356 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0008011/0.01887, allocations: 0.7276 MB / 0.6363 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.0189, allocations: 55.41 kB / 0.6363 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005073/0.02398, allocations: 6.509 MB / 0.6427 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.02403, allocations: 25.7 kB / 0.6427 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.02431, allocations: 416.5 kB / 0.6431 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.02436, allocations: 67.42 kB / 0.6432 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.02444, allocations: 57.69 kB / 0.6432 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.02454, allocations: 318 kB / 0.6435 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.02498, allocations: 0.531 MB / 0.644 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.02543, allocations: 0.556 MB / 0.6446 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.02613, allocations: 0.7665 MB / 0.6453 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.02613, allocations: 4 kB / 0.6453 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001071/0.0272, allocations: 1.231 MB / 0.6465 GB, free: 252 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.02722, allocations: 4 kB / 0.6465 GB, free: 248 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02723, allocations: 3.938 kB / 0.6465 GB, free: 244 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.02725, allocations: 3.984 kB / 0.6466 GB, free: 240 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.02744, allocations: 67.89 kB / 0.6466 GB, free: 172 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.02745, allocations: 4.031 kB / 0.6466 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.02774, allocations: 47.77 kB / 0.6467 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.02776, allocations: 12 kB / 0.6467 GB, free: 108 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.0004182/0.02818, allocations: 286.6 kB / 0.6469 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.0283, allocations: 91.39 kB / 0.647 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.02891, allocations: 0.5658 MB / 0.6476 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.02892, allocations: 0 / 0.6476 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.02892, allocations: 11.92 kB / 0.6476 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.02893, allocations: 0 / 0.6476 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.03141, allocations: 2.677 MB / 0.6502 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.03141, allocations: 4 kB / 0.6502 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.03154, allocations: 52.5 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.03154, allocations: 7.938 kB / 0.6503 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.03156, allocations: 15.98 kB / 0.6503 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.03156, allocations: 4 kB / 0.6503 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.03157, allocations: 11.94 kB / 0.6503 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.03215, allocations: 0.6745 MB / 0.651 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.03235, allocations: 199.1 kB / 0.6512 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.03242, allocations: 16 kB / 0.6512 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.03262, allocations: 31.97 kB / 0.6512 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.03266, allocations: 23.86 kB / 0.6512 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.03267, allocations: 19.98 kB / 0.6512 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003076/0.03575, allocations: 5.153 MB / 0.6563 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.03575, allocations: 0 / 0.6563 GB, free: 6.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004657/0.03621, allocations: 191.9 kB / 0.6565 GB, free: 5.883 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.00125/0.03746, allocations: 1.287 MB / 0.6577 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007102/0.03817, allocations: 0.7663 MB / 0.6585 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03817, allocations: 0 / 0.6585 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.03839, allocations: 232.7 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.0006804/0.03907, allocations: 199.8 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.2533/0.2923, allocations: 22.9 MB / 0.6812 GB, free: 98.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2926, allocations: 406.5 kB / 0.6816 GB, free: 98.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003631/0.293, allocations: 146.4 kB / 0.6818 GB, free: 98.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.2932, allocations: 308.4 kB / 0.6821 GB, free: 97.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.923e-06/0.2932, allocations: 0 / 0.6821 GB, free: 97.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/0.3388, allocations: 25.3 MB / 0.7068 GB, free: 95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.41, allocations: 2.266 kB / 0.7068 GB, free: 95 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.112294374965131] Failed to read output from testmodel.py, exit status != 0: 7.502686369232833 7.512507913 7.501950145 Calling exit ...