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.001138/0.001138, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001346/0.001346, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7543/0.7543, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.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: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.354e-05, allocations: 9.234 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001348/0.001372, allocations: 0.6434 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001819/0.001554, allocations: 15.86 kB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.001597, allocations: 0 / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.001707, allocations: 11.88 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.001749, allocations: 4 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.001852, allocations: 4 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.001965, allocations: 43.91 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.002079, allocations: 19.91 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.002114, allocations: 15.98 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.002143, allocations: 15.92 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.002166, allocations: 4 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.002176, allocations: 4 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.002206, allocations: 11.98 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.002233, allocations: 11.94 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002334, allocations: 55.8 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002336, allocations: 0 / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.002338, allocations: 0 / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002342, allocations: 0 / 0.6189 GB, free: 12.78 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.0002877/0.00263, allocations: 274.2 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.002672, allocations: 9.469 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.002702, allocations: 34.75 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.092e-05/0.002723, allocations: 8.891 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.002845, allocations: 117.7 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.002855, allocations: 8.375 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.002864, allocations: 4.375 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.002991, allocations: 78.22 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.002998, allocations: 192 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003006, allocations: 8.312 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003011, allocations: 8.125 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.003066, allocations: 47.91 kB / 0.6195 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.003446, allocations: 450.2 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.003511, allocations: 169.1 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.003537, allocations: 80.14 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.003555, allocations: 75.28 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.003589, allocations: 109.8 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.00359, allocations: 4 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.844e-05/0.003649, allocations: 41.58 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.003695, allocations: 126.7 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.003822, allocations: 168 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.003831, allocations: 29.7 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.003877, allocations: 92.12 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.00388, allocations: 4 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.003906, allocations: 13.72 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.003984, allocations: 322.7 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.003999, allocations: 11.98 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.004012, allocations: 8 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.004044, allocations: 20.84 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.004045, allocations: 0 / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.718e-05/0.004142, allocations: 49.58 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.004155, allocations: 4 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.00416, allocations: 4 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.00417, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.004225, allocations: 3.984 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.00423, allocations: 0 / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.004249, allocations: 19.83 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.004258, allocations: 8.203 kB / 0.6212 GB, free: 10.21 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.654e-05/0.004335, allocations: 194 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.004374, allocations: 108.9 kB / 0.6215 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.004419, allocations: 116.7 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/0.004462, allocations: 184.2 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-05/0.004503, allocations: 180.2 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-05/0.004545, allocations: 176.3 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.004698, allocations: 392.2 kB / 0.6225 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/0.004726, allocations: 112.9 kB / 0.6226 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.004748, allocations: 101 kB / 0.6227 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-05/0.00479, allocations: 188.2 kB / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.004832, allocations: 180.5 kB / 0.6231 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.239e-05/0.004875, allocations: 184.3 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.257e-05/0.004917, allocations: 184.2 kB / 0.6234 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.608e-05/0.005014, allocations: 307.7 kB / 0.6237 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.005052, allocations: 116.9 kB / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.005102, allocations: 180.2 kB / 0.624 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.005157, allocations: 104.9 kB / 0.6241 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.005468, allocations: 180.3 kB / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.005492, allocations: 104.9 kB / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.138e-05/0.005563, allocations: 137.7 kB / 0.6245 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005563, allocations: 4 kB / 0.6245 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001463/0.00571, allocations: 8 kB / 0.6245 GB, free: 6.648 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.000274/0.005984, allocations: 0.8048 MB / 0.6253 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.006047, allocations: 7.938 kB / 0.6253 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006049, allocations: 0 / 0.6253 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.00605, allocations: 0 / 0.6253 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.006372, allocations: 467.7 kB / 0.6258 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.007325, allocations: 1.617 MB / 0.6274 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.007377, allocations: 87.31 kB / 0.6274 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.007398, allocations: 8 kB / 0.6274 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.007437, allocations: 16.48 kB / 0.6275 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.007438, allocations: 0 / 0.6275 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.02945, allocations: 2.293 MB / 0.6297 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.807, allocations: 6.406 kB / 0.6297 GB, free: 1.367 MB / 0.5886 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: 9.748500760644674] Failed to read output from testmodel.py, exit status != 0: 6.887110353447497 6.897440764 6.893325026 Calling exit ...