Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0008416/0.0008416, 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.001086/0.001086, 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.9401/0.9401, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7284/0.7284, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.674e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001599/0.001626, allocations: 0.6912 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009057/0.002532, allocations: 0.8354 MB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.002573, allocations: 0 / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.002603, allocations: 3.938 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.002665, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.337e-05/0.002729, allocations: 11.98 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.443e-05/0.002813, allocations: 43.86 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.002923, allocations: 11.92 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.003006, allocations: 27.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.85e-05/0.003044, allocations: 15.97 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.00307, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.003078, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.003097, allocations: 11.92 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.003124, allocations: 11.98 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.003227, allocations: 43.81 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.00323, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.472e-06/0.003232, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.003237, allocations: 0 / 0.6198 GB, free: 11.91 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.0004338/0.003671, allocations: 294.2 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.003727, allocations: 9.469 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.003762, allocations: 30.75 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.003786, allocations: 8.891 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.003892, allocations: 117.7 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.003905, allocations: 384 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.003914, allocations: 384 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.004088, allocations: 74.2 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.004096, allocations: 192 / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004106, allocations: 4.375 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004112, allocations: 4.125 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.004261, allocations: 63.88 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.004598, allocations: 232 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.004739, allocations: 50.55 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.004819, allocations: 44.91 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.004833, allocations: 3.938 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.004853, allocations: 34.5 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.004854, allocations: 0 / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005448/0.005399, allocations: 129.6 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.005428, allocations: 55.34 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.005493, allocations: 109.8 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.005503, allocations: 25.7 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.005543, allocations: 92.09 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.005562, allocations: 11.89 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.00559, allocations: 13.72 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.005673, allocations: 314.8 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/0.005756, allocations: 27.97 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.005825, allocations: 43.89 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.00596, allocations: 60.8 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005962, allocations: 3.938 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002204/0.006182, allocations: 117.8 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006197, allocations: 8 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006201, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.006212, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.006288, allocations: 11.98 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.006293, allocations: 4 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.006328, allocations: 7.984 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.006335, allocations: 4 kB / 0.6217 GB, free: 9.742 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.793e-05/0.006393, allocations: 114.8 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.006408, allocations: 11.92 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.006429, allocations: 8 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006431, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.006436, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006438, allocations: 0 / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006546, allocations: 136.8 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.006547, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.006595, allocations: 19.92 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.006597, allocations: 7.984 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.006604, allocations: 0 / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006605, allocations: 0 / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006606, allocations: 4 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.006801, allocations: 187.4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.006809, allocations: 3.938 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.006819, allocations: 4 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.006871, allocations: 19.97 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.006908, allocations: 7.938 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006911, allocations: 0 / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.006945, allocations: 91.27 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006945, allocations: 0 / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001451/0.00709, allocations: 4 kB / 0.6223 GB, free: 9.059 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.0003688/0.007459, allocations: 0.7319 MB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.007652, allocations: 75.8 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007653, allocations: 0 / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.007724, allocations: 31.97 kB / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.007967, allocations: 14.67 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.008314, allocations: 153.8 kB / 0.6233 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.008474, allocations: 67.28 kB / 0.6233 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.008502, allocations: 3.984 kB / 0.6233 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.008543, allocations: 16.5 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.008544, allocations: 0 / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.02623, allocations: 2.322 MB / 0.6256 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/6.823, allocations: 10.23 kB / 0.6256 GB, free: 5.703 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.727897023782134] Failed to read output from testmodel.py, exit status != 0: 6.90500567946583 6.913075327 6.908002761 Calling exit ...