Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00104/0.00104, allocations: 109.9 kB / 18.94 MB, free: 1.262 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.001178/0.001178, allocations: 210.4 kB / 22.25 MB, free: 3.848 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 0.9831/0.9831, allocations: 230.6 MB / 256 MB, free: 3.543 MB / 202.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.8033/0.8033, allocations: 203.8 MB / 0.5042 GB, free: 0.6875 MB / 410.7 MB " [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.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",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.001044/0.001044, allocations: 75.88 kB / 0.7183 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5303, allocations: 102 MB / 0.8179 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001687/0.532, allocations: 0.6516 MB / 0.8185 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.5322, allocations: 7.781 kB / 0.8185 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.5322, allocations: 4.906 kB / 0.8185 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.5323, allocations: 1.859 kB / 0.8186 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.5324, allocations: 2.781 kB / 0.8186 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.129e-05/0.5325, allocations: 10.19 kB / 0.8186 GB, free: 24.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.5326, allocations: 26.67 kB / 0.8186 GB, free: 24.5 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.5327, allocations: 25.16 kB / 0.8186 GB, free: 24.49 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.5327, allocations: 11.77 kB / 0.8186 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.5328, allocations: 19.72 kB / 0.8186 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.5328, allocations: 2.25 kB / 0.8186 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.5328, allocations: 4.844 kB / 0.8186 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.5329, allocations: 9.062 kB / 0.8187 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.5329, allocations: 16.45 kB / 0.8187 GB, free: 24.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.533, allocations: 53.53 kB / 0.8187 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.5331, allocations: 1.25 kB / 0.8187 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5331, allocations: 0.5312 kB / 0.8187 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5331, allocations: 0.5312 kB / 0.8187 GB, free: 24.43 MB / 0.6355 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.000352/0.5334, allocations: 279.2 kB / 0.819 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.5335, allocations: 12.08 kB / 0.819 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.5335, allocations: 37.66 kB / 0.819 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.5335, allocations: 8.516 kB / 0.819 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.5337, allocations: 122.4 kB / 0.8192 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5337, allocations: 6.656 kB / 0.8192 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.5337, allocations: 7.812 kB / 0.8192 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.5339, allocations: 80.92 kB / 0.8193 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.5339, allocations: 3.938 kB / 0.8193 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5339, allocations: 4.656 kB / 0.8193 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.5339, allocations: 1.406 kB / 0.8193 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.534, allocations: 49.89 kB / 0.8193 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.5344, allocations: 457.8 kB / 0.8197 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.5345, allocations: 174.2 kB / 0.8199 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.5345, allocations: 84.14 kB / 0.82 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5345, allocations: 80.03 kB / 0.8201 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.5345, allocations: 110.5 kB / 0.8202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.5345, allocations: 112 / 0.8202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.718e-05/0.5346, allocations: 41.78 kB / 0.8202 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.5347, allocations: 131.5 kB / 0.8203 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.5348, allocations: 170.6 kB / 0.8205 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.5348, allocations: 26.45 kB / 0.8205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.5349, allocations: 93.31 kB / 0.8206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.5349, allocations: 3.781 kB / 0.8206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.5349, allocations: 14 kB / 0.8206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.535, allocations: 323.7 kB / 0.8209 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.535, allocations: 5.25 kB / 0.821 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.535, allocations: 11 kB / 0.821 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.535, allocations: 12.86 kB / 0.821 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.535, allocations: 4.719 kB / 0.821 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.5351, allocations: 53.59 kB / 0.821 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5352, allocations: 9.516 kB / 0.821 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5352, allocations: 1.438 kB / 0.821 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5352, allocations: 0 / 0.821 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.5352, allocations: 6.953 kB / 0.821 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5352, allocations: 0.8125 kB / 0.821 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.5353, allocations: 8.422 kB / 0.8211 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5353, allocations: 1.531 kB / 0.8211 GB, free: 22.2 MB / 0.6355 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 5.371e-05/0.5353, allocations: 195.2 kB / 0.8212 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.5354, allocations: 112.5 kB / 0.8213 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.5354, allocations: 119.1 kB / 0.8215 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5354, allocations: 181.2 kB / 0.8216 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.5354, allocations: 182.2 kB / 0.8218 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.5354, allocations: 177.9 kB / 0.822 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.5355, allocations: 393.3 kB / 0.8224 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5356, allocations: 109.6 kB / 0.8225 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.5356, allocations: 102.2 kB / 0.8226 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/0.5356, allocations: 181.4 kB / 0.8227 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.5356, allocations: 178 kB / 0.8229 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.5356, allocations: 191.1 kB / 0.8231 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/0.5356, allocations: 182 kB / 0.8233 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.853e-05/0.5357, allocations: 306.6 kB / 0.8235 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.5357, allocations: 118.9 kB / 0.8237 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.5358, allocations: 186.4 kB / 0.8238 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.5358, allocations: 111.1 kB / 0.8239 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.5358, allocations: 182.8 kB / 0.8241 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5358, allocations: 106 kB / 0.8242 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.735e-05/0.5359, allocations: 138 kB / 0.8244 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5359, allocations: 0 / 0.8244 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001455/0.5361, allocations: 4.688 kB / 0.8244 GB, free: 18.74 MB / 0.6355 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.0002182/0.5363, allocations: 0.8072 MB / 0.8251 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.5364, allocations: 15.89 kB / 0.8252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5364, allocations: 0 / 0.8252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.5364, allocations: 0.6562 kB / 0.8252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.5367, allocations: 466.7 kB / 0.8256 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5377, allocations: 1.611 MB / 0.8272 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.5378, allocations: 0.6896 MB / 0.8279 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.5379, allocations: 10.38 kB / 0.8279 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.5379, allocations: 22.91 kB / 0.8279 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.5379, allocations: 0 / 0.8279 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.5555, allocations: 1.725 MB / 0.8296 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/7.188, allocations: 7.094 kB / 0.8296 GB, free: 14.94 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.31310947611928] Failed to read output from testmodel.py, exit status != 0: 7.266069874865934 7.280223445 6.744524366 Calling exit ...