Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.000773/0.000773, 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.001314/0.001314, 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.8891/0.8891, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7102/0.7102, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.342e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001355/0.001378, allocations: 0.6405 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.001505, allocations: 7.922 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.001542, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.03e-05/0.001632, allocations: 11.94 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.001667, allocations: 3.938 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.314e-05/0.00173, allocations: 3.984 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.683e-05/0.001807, allocations: 27.92 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.001918, allocations: 19.92 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.001957, allocations: 23.97 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.001985, allocations: 15.88 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.002007, allocations: 4 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.002016, allocations: 4 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.002045, allocations: 11.98 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.002069, allocations: 15.92 kB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.003e-05/0.002159, allocations: 43.81 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002161, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002162, allocations: 4 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.083e-05/0.002203, allocations: 0 / 0.619 GB, free: 12.75 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002591/0.002462, allocations: 270.2 kB / 0.6192 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.002498, allocations: 12.03 kB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.002525, allocations: 38.75 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.002545, allocations: 8.891 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.002661, allocations: 121.7 kB / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.002671, allocations: 8.375 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.002681, allocations: 4.375 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.002798, allocations: 73.41 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.002805, allocations: 192 / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.002813, allocations: 8.312 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.002819, allocations: 8.125 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.002874, allocations: 47.91 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.003276, allocations: 454.2 kB / 0.62 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.003352, allocations: 173.1 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.003378, allocations: 80.14 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.003401, allocations: 75.28 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.003444, allocations: 109.8 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.003445, allocations: 0 / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.593e-05/0.003511, allocations: 33.59 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.003563, allocations: 130.7 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.0037, allocations: 172.1 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.003707, allocations: 25.7 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.003757, allocations: 92.14 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.00376, allocations: 4 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.003787, allocations: 17.72 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.003886, allocations: 322.8 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.0039, allocations: 8 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.003911, allocations: 7.984 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.003943, allocations: 16.84 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.003945, allocations: 0 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001152/0.004061, allocations: 53.58 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.004074, allocations: 4 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.004078, allocations: 4.094 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.00409, allocations: 3.938 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.004143, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.004147, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.00417, allocations: 19.83 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.00418, allocations: 4 kB / 0.6213 GB, free: 10.18 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 (1): * Single equations (assignments): 1 * 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 7.11e-05/0.004251, allocations: 190.1 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.004326, allocations: 108.9 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.004369, allocations: 124.8 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/0.004414, allocations: 180.2 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-05/0.004464, allocations: 188.2 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.447e-05/0.004508, allocations: 176.3 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.004759, allocations: 396.2 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/0.004786, allocations: 109 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.004814, allocations: 105 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.783e-05/0.004872, allocations: 180.2 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.004938, allocations: 184.4 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-05/0.005001, allocations: 188.2 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.146e-05/0.005053, allocations: 176.3 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.005145, allocations: 311.7 kB / 0.6238 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.005182, allocations: 112.9 kB / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.005231, allocations: 188.2 kB / 0.6241 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.851e-05/0.005279, allocations: 101 kB / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.005381, allocations: 184.2 kB / 0.6244 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.005403, allocations: 104.9 kB / 0.6245 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.005476, allocations: 135.2 kB / 0.6246 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.005476, allocations: 0 / 0.6246 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001627/0.005639, allocations: 4 kB / 0.6246 GB, free: 6.617 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 (0): * Single equations (assignments): 0 * 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.000246/0.005885, allocations: 0.8048 MB / 0.6254 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.44e-05/0.005949, allocations: 15.92 kB / 0.6254 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.005951, allocations: 0 / 0.6254 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.005952, allocations: 0 / 0.6254 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.006253, allocations: 465.7 kB / 0.6258 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.007268, allocations: 1.626 MB / 0.6274 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.007322, allocations: 75.33 kB / 0.6275 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.007347, allocations: 11.98 kB / 0.6275 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.007389, allocations: 12.5 kB / 0.6275 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of SimCode: time 9.82e-07/0.00739, allocations: 0 / 0.6275 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.02165, allocations: 2.283 MB / 0.6297 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.871, allocations: 4.641 kB / 0.6297 GB, free: 1.34 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.607736809179187] Failed to read output from testmodel.py, exit status != 0: 6.953594814054668 6.962958806 6.958217944 Calling exit ...