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.001731/0.001731, allocations: 68.47 kB / 19.02 MB, free: 1.137 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.002001/0.002001, allocations: 160 kB / 22.29 MB, free: 3.535 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 1.435/1.435, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.227/1.227, allocations: 154.7 MB / 413.8 MB, free: 3.148 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: 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.002078/0.002078, allocations: 67.89 kB / 0.6181 GB, free: 1.137 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2191, allocations: 102 MB / 0.7177 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003583/0.2226, allocations: 1.941 MB / 0.7196 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.2256, allocations: 1.313 MB / 0.7208 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.2257, allocations: 0 / 0.7208 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008168/0.2265, allocations: 239.4 kB / 0.7211 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2277, allocations: 442.5 kB / 0.7215 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 1.671e-05/0.2277, allocations: 0 / 0.7215 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.2283, allocations: 386.5 kB / 0.7219 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.557e-05/0.2283, allocations: 20.56 kB / 0.7219 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.2286, allocations: 203.3 kB / 0.7221 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.229, allocations: 195.1 kB / 0.7223 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.229, allocations: 20 kB / 0.7223 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/0.2296, allocations: 283.6 kB / 0.7225 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.23, allocations: 394.9 kB / 0.7229 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.2305, allocations: 334.2 kB / 0.7232 GB, free: 5.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.232, allocations: 1.175 MB / 0.7244 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.232, allocations: 0 / 0.7244 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.232, allocations: 0 / 0.7244 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.279e-05/0.232, allocations: 0 / 0.7244 GB, free: 4.34 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.002509/0.2345, allocations: 1.218 MB / 0.7256 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2346, allocations: 11.97 kB / 0.7256 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.2347, allocations: 46.73 kB / 0.7256 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.2354, allocations: 156.2 kB / 0.7258 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.2402, allocations: 4.221 MB / 0.7299 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.2402, allocations: 8.375 kB / 0.7299 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.2403, allocations: 16.38 kB / 0.7299 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009226/0.2412, allocations: 0.6382 MB / 0.7305 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2412, allocations: 0 / 0.7305 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2412, allocations: 4 kB / 0.7306 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2412, allocations: 7.938 kB / 0.7306 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.2427, allocations: 1.105 MB / 0.7316 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004127/0.2468, allocations: 3.025 MB / 0.7346 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.2476, allocations: 334.3 kB / 0.7349 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.2481, allocations: 220.8 kB / 0.7351 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.356e-05/0.2482, allocations: 27.92 kB / 0.7351 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2482, allocations: 34.56 kB / 0.7352 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/0.2482, allocations: 0 / 0.7352 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001474/0.2497, allocations: 0.726 MB / 0.7359 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2498, allocations: 59.36 kB / 0.7359 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008076/0.2578, allocations: 6.497 MB / 0.7423 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.2579, allocations: 37.64 kB / 0.7423 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.2583, allocations: 420.4 kB / 0.7427 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.2584, allocations: 75.41 kB / 0.7428 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2585, allocations: 57.69 kB / 0.7429 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2587, allocations: 314 kB / 0.7432 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.2594, allocations: 0.5232 MB / 0.7437 GB, free: 384 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.2601, allocations: 0.5534 MB / 0.7442 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.2612, allocations: 0.7791 MB / 0.745 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2613, allocations: 4 kB / 0.745 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001816/0.2631, allocations: 1.231 MB / 0.7462 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2631, allocations: 8.031 kB / 0.7462 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2631, allocations: 0 / 0.7462 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2631, allocations: 4 kB / 0.7462 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.2635, allocations: 63.95 kB / 0.7462 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2635, allocations: 0 / 0.7462 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.2641, allocations: 51.75 kB / 0.7463 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2641, allocations: 8 kB / 0.7463 GB, free: 13.66 MB / 0.6511 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.0004478/0.2645, allocations: 281.7 kB / 0.7466 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.2648, allocations: 103.3 kB / 0.7467 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.266, allocations: 0.5605 MB / 0.7472 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.266, allocations: 0 / 0.7472 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.266, allocations: 4 kB / 0.7472 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.266, allocations: 3.984 kB / 0.7472 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.2701, allocations: 2.673 MB / 0.7498 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.2701, allocations: 8 kB / 0.7498 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.2704, allocations: 47.91 kB / 0.7499 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.2704, allocations: 4 kB / 0.7499 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.2705, allocations: 19.92 kB / 0.7499 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.2705, allocations: 8 kB / 0.7499 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.2705, allocations: 7.938 kB / 0.7499 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.2718, allocations: 0.68 MB / 0.7506 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.2723, allocations: 191.2 kB / 0.7508 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.2725, allocations: 8 kB / 0.7508 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.2729, allocations: 31.98 kB / 0.7508 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.273, allocations: 35.78 kB / 0.7508 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.273, allocations: 12 kB / 0.7509 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.005604/0.2786, allocations: 5.16 MB / 0.7559 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2786, allocations: 0 / 0.7559 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008122/0.2794, allocations: 195.8 kB / 0.7561 GB, free: 3.43 MB / 0.6511 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.002019/0.2815, allocations: 1.292 MB / 0.7573 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.2827, allocations: 0.7651 MB / 0.7581 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2827, allocations: 0 / 0.7581 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.2831, allocations: 231.7 kB / 0.7583 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2841, allocations: 193.8 kB / 0.7585 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3924/0.6766, allocations: 22.95 MB / 0.7809 GB, free: 35.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.677, allocations: 405.7 kB / 0.7813 GB, free: 35.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.6775, allocations: 144.7 kB / 0.7814 GB, free: 35.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.678, allocations: 306.5 kB / 0.7817 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.513e-06/0.678, allocations: 0.625 kB / 0.7817 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06183/0.7398, allocations: 25.37 MB / 0.8065 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.61, allocations: 0 / 0.8065 GB, free: 19.73 MB / 0.6511 GB " [Timeout remaining time 647] (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: 16.739988822999294] Failed to read output from testmodel.py, exit status != 0: 12.72952033400361 12.749446645999999 12.513751846 Calling exit ...