Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0008596/0.0008596, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0009172/0.0009172, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9354/0.9354, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.7194/0.7194, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.301e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001514/0.001537, allocations: 0.6902 MB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.002391, allocations: 0.8392 MB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.002431, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.002458, allocations: 0 / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.002521, allocations: 7.938 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.002628, allocations: 11.98 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.002705, allocations: 43.84 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002809, allocations: 8 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.002894, allocations: 27.91 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.002938, allocations: 15.97 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.002962, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.002972, allocations: 8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.002988, allocations: 7.938 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.00301, allocations: 11.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.584e-05/0.003106, allocations: 43.81 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003108, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003109, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.003114, allocations: 0 / 0.6198 GB, free: 11.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004125/0.003527, allocations: 290.2 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.003572, allocations: 12.03 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.003603, allocations: 34.75 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.003627, allocations: 4.891 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.237e-05/0.00371, allocations: 113.7 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.003724, allocations: 8.375 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.003732, allocations: 384 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.003916, allocations: 70.2 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.003924, allocations: 192 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.003934, allocations: 4.375 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.00394, allocations: 4.125 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.004084, allocations: 71.86 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.004387, allocations: 220.1 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.004511, allocations: 54.53 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.004587, allocations: 36.92 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.004607, allocations: 7.938 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.004629, allocations: 34.56 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.00463, allocations: 0 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003128/0.004942, allocations: 129.5 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.004973, allocations: 51.41 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.005038, allocations: 113.8 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.00505, allocations: 29.64 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.005084, allocations: 88.09 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.005106, allocations: 15.88 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.005133, allocations: 13.72 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.005213, allocations: 314.8 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.00529, allocations: 31.95 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.005356, allocations: 35.97 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.005493, allocations: 68.72 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005494, allocations: 0 / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001685/0.005663, allocations: 105.5 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005676, allocations: 12 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00568, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.005693, allocations: 0 / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.005786, allocations: 15.97 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.005791, allocations: 4 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.005831, allocations: 11.98 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.00584, allocations: 4.328 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.727e-05/0.005897, allocations: 106.8 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.005913, allocations: 7.938 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.006127, allocations: 113.5 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.00613, allocations: 4 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.006137, allocations: 4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.00614, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.006262, allocations: 136.7 kB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006264, allocations: 0 / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.006314, allocations: 19.92 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.006318, allocations: 4 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.006327, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.006329, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00633, allocations: 0 / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.006928, allocations: 199.4 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.006934, allocations: 3.938 kB / 0.6223 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006945, allocations: 0 / 0.6223 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.006998, allocations: 19.98 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.007034, allocations: 3.984 kB / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.007039, allocations: 4 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.00707, allocations: 83.28 kB / 0.6224 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00707, allocations: 0 / 0.6224 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000152/0.007222, allocations: 8 kB / 0.6225 GB, free: 8.898 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0004244/0.007646, allocations: 0.7319 MB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.007844, allocations: 67.86 kB / 0.6232 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007845, allocations: 0 / 0.6232 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/0.007919, allocations: 39.89 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.008173, allocations: 8 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.008529, allocations: 156.9 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.00857, allocations: 67.28 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.008592, allocations: 4 kB / 0.6235 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.008632, allocations: 12.5 kB / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of SimCode: time 4.7e-07/0.008632, allocations: 0 / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.02262, allocations: 2.327 MB / 0.6258 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/6.621, allocations: 7 kB / 0.6258 GB, free: 5.547 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.461721061728895] Failed to read output from testmodel.py, exit status != 0: 6.702817667275667 6.716218422 6.711096502 Calling exit ...