Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0008074/0.0008074, 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.0008405/0.0008405, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9616/0.9616, allocations: 230.6 MB / 256 MB, free: 9.609 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.7962/0.7962, allocations: 203.8 MB / 0.5042 GB, free: 10.5 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.MultiMin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin",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.001497/0.001497, allocations: 69.52 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.508, allocations: 102 MB / 0.8178 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001319/0.5093, allocations: 0.6539 MB / 0.8185 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.5095, allocations: 15.33 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.5095, allocations: 2.344 kB / 0.8185 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.169e-05/0.5096, allocations: 4.828 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.5096, allocations: 0.9844 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.326e-05/0.5097, allocations: 2.516 kB / 0.8185 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.5098, allocations: 51.97 kB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.5099, allocations: 18.14 kB / 0.8186 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.51, allocations: 12.77 kB / 0.8186 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.51, allocations: 18.06 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.51, allocations: 5 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.51, allocations: 2.531 kB / 0.8186 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.51, allocations: 8.766 kB / 0.8186 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.5101, allocations: 20.14 kB / 0.8186 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.5102, allocations: 45.39 kB / 0.8187 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5102, allocations: 1.812 kB / 0.8187 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5102, allocations: 0.7031 kB / 0.8187 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5102, allocations: 0 / 0.8187 GB, free: 0.5547 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.0002386/0.5104, allocations: 275.3 kB / 0.8189 GB, free: 284 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5105, allocations: 12.91 kB / 0.8189 GB, free: 280 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.5105, allocations: 34.06 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.5105, allocations: 7.594 kB / 0.819 GB, free: 236 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.5106, allocations: 126.6 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.5106, allocations: 2.094 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.5106, allocations: 6.562 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5107, allocations: 76.16 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.5107, allocations: 3.938 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.5108, allocations: 4.594 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5108, allocations: 3.688 kB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.5108, allocations: 53.73 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.5112, allocations: 464.2 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.5113, allocations: 177.7 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.5113, allocations: 80.14 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.5113, allocations: 78.78 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.5114, allocations: 106.5 kB / 0.8201 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5114, allocations: 0 / 0.8201 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.368e-05/0.5114, allocations: 34.06 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5115, allocations: 130.6 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.5116, allocations: 173.5 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.5116, allocations: 25.7 kB / 0.8205 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.5116, allocations: 103.7 kB / 0.8206 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.5117, allocations: 0 / 0.8206 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.5117, allocations: 15.81 kB / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.5118, allocations: 321.2 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.5118, allocations: 9.703 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.5118, allocations: 6.812 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.5118, allocations: 15.53 kB / 0.8209 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5118, allocations: 0 / 0.8209 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.955e-05/0.5119, allocations: 50.88 kB / 0.821 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5119, allocations: 9.031 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5119, allocations: 0 / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5119, allocations: 0.7031 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.005e-05/0.512, allocations: 13.92 kB / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.512, allocations: 0 / 0.821 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.512, allocations: 9.703 kB / 0.821 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.512, allocations: 112 / 0.821 GB, free: 14.31 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 7.242e-05/0.5121, allocations: 194.6 kB / 0.8212 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.5121, allocations: 108 kB / 0.8213 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.5122, allocations: 121.4 kB / 0.8214 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-05/0.5122, allocations: 191.2 kB / 0.8216 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.929e-05/0.5122, allocations: 177 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/0.5123, allocations: 185.1 kB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.5124, allocations: 387.4 kB / 0.8223 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.5124, allocations: 101.7 kB / 0.8224 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.5125, allocations: 104.9 kB / 0.8225 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-05/0.5125, allocations: 179.2 kB / 0.8227 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.5125, allocations: 184.6 kB / 0.8228 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.094e-05/0.5126, allocations: 184.9 kB / 0.823 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.022e-05/0.5126, allocations: 181.6 kB / 0.8232 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.819e-05/0.5127, allocations: 304.6 kB / 0.8235 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.5128, allocations: 129 kB / 0.8236 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.5128, allocations: 177.3 kB / 0.8238 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.256e-05/0.5129, allocations: 110.8 kB / 0.8239 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.5129, allocations: 183.8 kB / 0.8241 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.5129, allocations: 105.6 kB / 0.8242 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.513, allocations: 135.4 kB / 0.8243 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.513, allocations: 0 / 0.8243 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001426/0.5131, allocations: 6.156 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.0002585/0.5134, allocations: 0.8077 MB / 0.8251 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.5135, allocations: 16.94 kB / 0.8251 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5135, allocations: 0 / 0.8251 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.5135, allocations: 0 / 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.0002961/0.5138, allocations: 467.6 kB / 0.8255 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.5147, allocations: 1.611 MB / 0.8271 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.374e-05/0.5148, allocations: 73.16 kB / 0.8272 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.5148, allocations: 5.312 kB / 0.8272 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.5148, allocations: 19.41 kB / 0.8272 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5148, allocations: 4.062 kB / 0.8272 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.534, allocations: 2.148 MB / 0.8293 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/7.029, allocations: 6.328 kB / 0.8293 GB, free: 7.23 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin_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_MultiMin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.046682093758136] Failed to read output from testmodel.py, exit status != 0: 7.10887406906113 7.121008035 6.6083543 Calling exit ...