Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.001226/0.001226, 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.001286/0.001286, allocations: 169.9 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.8872/0.8872, allocations: 177.2 MB / 202.8 MB, free: 5.547 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.6795/0.6795, allocations: 154.6 MB / 413.8 MB, free: 0.7344 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.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.624e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001174/0.0012, allocations: 0.5395 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.001349, allocations: 43.75 kB / 0.6186 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.001398, allocations: 0 / 0.6186 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.001427, allocations: 0 / 0.6186 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.001578, allocations: 0 / 0.6186 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.399e-05/0.001632, allocations: 15.92 kB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.343e-05/0.001696, allocations: 7.938 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.001743, allocations: 4 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.001803, allocations: 7.969 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.001871, allocations: 11.94 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.001893, allocations: 8 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.001901, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.001952, allocations: 3.984 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.001974, allocations: 4 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.742e-05/0.002041, allocations: 7.984 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002043, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002044, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002048, allocations: 0 / 0.6187 GB, free: 13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003743/0.002422, allocations: 254.4 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.002465, allocations: 8.031 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.0025, allocations: 42.69 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.002522, allocations: 0.9375 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.002676, allocations: 125.7 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.002686, allocations: 4.375 kB / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.002703, allocations: 384 / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.199e-05/0.002775, allocations: 38.19 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.002782, allocations: 192 / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.002789, allocations: 384 / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.002795, allocations: 4.125 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.002812, allocations: 4 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.002938, allocations: 128.8 kB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.682e-05/0.002975, allocations: 18.58 kB / 0.6193 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.002991, allocations: 4.859 kB / 0.6193 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.003005, allocations: 4.062 kB / 0.6193 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.003027, allocations: 38.48 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.003028, allocations: 0 / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001352/0.003163, allocations: 41.69 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.003196, allocations: 63.28 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.003265, allocations: 105.8 kB / 0.6196 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.003276, allocations: 25.83 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.003307, allocations: 88.14 kB / 0.6197 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.003328, allocations: 7.953 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.00335, allocations: 13.72 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.003439, allocations: 314.8 kB / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.003453, allocations: 4 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.003474, allocations: 21.91 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.003507, allocations: 21.7 kB / 0.62 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.00351, allocations: 4 kB / 0.62 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.87e-05/0.003558, allocations: 53.69 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.003571, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.003578, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.003591, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.003667, allocations: 7.938 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.003672, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.003687, allocations: 3.984 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.003693, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 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 (2): * Single equations (assignments): 2 * 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 8.493e-05/0.003778, allocations: 114.8 kB / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-06/0.003782, allocations: 64 / 0.6202 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.003875, allocations: 61.05 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.003877, allocations: 0 / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.003883, allocations: 3.938 kB / 0.6203 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.003888, allocations: 3.984 kB / 0.6203 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.305e-05/0.003971, allocations: 128.7 kB / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.003972, allocations: 0 / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.004013, allocations: 7.984 kB / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.004014, allocations: 0 / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.004022, allocations: 0 / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004022, allocations: 0 / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.004024, allocations: 7.969 kB / 0.6204 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.004125, allocations: 73.12 kB / 0.6205 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.004143, allocations: 12 kB / 0.6205 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.004154, allocations: 4 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.004162, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.004179, allocations: 7.875 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.00418, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.004252, allocations: 91.27 kB / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004252, allocations: 0 / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001153/0.004368, allocations: 4 kB / 0.6206 GB, free: 10.78 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0002449/0.004612, allocations: 0.6087 MB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.784e-05/0.00468, allocations: 23.86 kB / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.004682, allocations: 0 / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.00469, allocations: 4 kB / 0.6212 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.004801, allocations: 7.938 kB / 0.6212 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.00559, allocations: 1.139 MB / 0.6224 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.436e-05/0.005634, allocations: 67.62 kB / 0.6224 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.896e-05/0.005653, allocations: 3.984 kB / 0.6224 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.005688, allocations: 16.5 kB / 0.6224 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.005689, allocations: 0 / 0.6224 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.02081, allocations: 1.834 MB / 0.6242 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.046, allocations: 9 kB / 0.6242 GB, free: 7.062 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.724306403659284] Failed to read output from testmodel.py, exit status != 0: 7.122253371402621 7.130519315 7.126902085 Calling exit ...