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.000838/0.000838, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001512/0.001512, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9193/0.9193, allocations: 230.6 MB / 256 MB, free: 9.578 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.7838/0.7838, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.001008/0.001008, allocations: 70.03 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5248, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00144/0.5262, allocations: 0.6379 MB / 0.8185 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.5264, allocations: 16.19 kB / 0.8185 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.5264, allocations: 4 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.5265, allocations: 5.328 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.5266, allocations: 2.734 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.494e-05/0.5266, allocations: 4.703 kB / 0.8185 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.5267, allocations: 31.38 kB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.5269, allocations: 19.98 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.5269, allocations: 18.95 kB / 0.8186 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.5269, allocations: 13.61 kB / 0.8186 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.5269, allocations: 7.484 kB / 0.8186 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.527, allocations: 0.8125 kB / 0.8186 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.527, allocations: 13.89 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.527, allocations: 16.34 kB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.5271, allocations: 45.41 kB / 0.8187 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5271, allocations: 3.469 kB / 0.8187 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5271, allocations: 0 / 0.8187 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5272, allocations: 0 / 0.8187 GB, free: 0.5586 MB / 0.6042 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.0002627/0.5274, allocations: 274.5 kB / 0.8189 GB, free: 288 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5275, allocations: 9.125 kB / 0.8189 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.5275, allocations: 33.88 kB / 0.819 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.5275, allocations: 7.969 kB / 0.819 GB, free: 244 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.5276, allocations: 130.9 kB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.5276, allocations: 4.938 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.5276, allocations: 8.625 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5278, allocations: 77.75 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5278, allocations: 3.938 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5278, allocations: 5.219 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5278, allocations: 2.031 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.5279, allocations: 47.03 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.5283, allocations: 454.1 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.5283, allocations: 175 kB / 0.8198 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.5284, allocations: 81.52 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5284, allocations: 83.22 kB / 0.82 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.5284, allocations: 108 kB / 0.8201 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.5284, allocations: 1.312 kB / 0.8201 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.074e-05/0.5285, allocations: 33.25 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.5285, allocations: 131.2 kB / 0.8203 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.5287, allocations: 179.5 kB / 0.8204 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.5287, allocations: 25.7 kB / 0.8204 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.5287, allocations: 92.25 kB / 0.8205 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.5288, allocations: 1.938 kB / 0.8205 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.5288, allocations: 15.58 kB / 0.8206 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.5289, allocations: 321.9 kB / 0.8209 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.5289, allocations: 13.23 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.5289, allocations: 6.719 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.5289, allocations: 17.14 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5289, allocations: 3.938 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000108/0.529, allocations: 50.09 kB / 0.8209 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5291, allocations: 6.125 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.5291, allocations: 1.562 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5291, allocations: 0 / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.5291, allocations: 14.02 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5291, allocations: 4.703 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.5292, allocations: 5.438 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.5292, allocations: 4.141 kB / 0.821 GB, free: 14.32 MB / 0.6198 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 8.009e-05/0.5292, allocations: 189.9 kB / 0.8212 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.5293, allocations: 108 kB / 0.8213 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.5293, allocations: 121.6 kB / 0.8214 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.59e-05/0.5294, allocations: 186.6 kB / 0.8216 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.068e-05/0.5294, allocations: 181 kB / 0.8217 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-05/0.5295, allocations: 184.9 kB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.5297, allocations: 387.5 kB / 0.8223 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-05/0.5297, allocations: 109.8 kB / 0.8224 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.5297, allocations: 101.5 kB / 0.8225 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-05/0.5297, allocations: 179.3 kB / 0.8227 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.5298, allocations: 181 kB / 0.8228 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.616e-05/0.5298, allocations: 189.2 kB / 0.823 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.092e-05/0.5299, allocations: 181 kB / 0.8232 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.53, allocations: 303.5 kB / 0.8235 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.53, allocations: 122.8 kB / 0.8236 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.5301, allocations: 180.8 kB / 0.8238 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.5301, allocations: 113.6 kB / 0.8239 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.5302, allocations: 183 kB / 0.824 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.5302, allocations: 104.2 kB / 0.8241 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.078e-05/0.5303, allocations: 133.8 kB / 0.8243 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5303, allocations: 2.719 kB / 0.8243 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001414/0.5304, allocations: 7.75 kB / 0.8243 GB, free: 10.86 MB / 0.6198 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.0002967/0.5307, allocations: 0.8051 MB / 0.8251 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.5308, allocations: 11.33 kB / 0.8251 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5308, allocations: 0 / 0.8251 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.5308, allocations: 3.938 kB / 0.8251 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.5311, allocations: 470.6 kB / 0.8255 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5324, allocations: 1.609 MB / 0.8271 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.5325, allocations: 73.41 kB / 0.8272 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.5325, allocations: 7.422 kB / 0.8272 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.5325, allocations: 18.19 kB / 0.8272 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5325, allocations: 1.188 kB / 0.8272 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.548, allocations: 2.156 MB / 0.8293 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.11, allocations: 4.156 kB / 0.8293 GB, free: 7.234 MB / 0.6198 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.076887222006917] Failed to read output from testmodel.py, exit status != 0: 7.186728298198432 7.201723807 6.671763236 Calling exit ...