Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04333/0.04333, allocations: 9.134 MB / 28.99 MB, free: 6.117 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009702/0.0009702, allocations: 90.66 kB / 35.33 MB, free: 0.7852 MB / 24.77 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.001249/0.001249, allocations: 165.4 kB / 38.73 MB, free: 2.145 MB / 24.77 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 1.021/1.021, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003852/0.003852, allocations: 0.8222 MB / 276.5 MB, free: 0.75 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.663/1.663, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.47e-05, allocations: 2.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001935/0.001959, allocations: 0.7927 MB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000287/0.002247, allocations: 59.75 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.002301, allocations: 4 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.002462, allocations: 15.86 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.002521, allocations: 19.86 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.002678, allocations: 27.95 kB / 0.6389 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.00288, allocations: 119.7 kB / 0.639 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.00307, allocations: 86.22 kB / 0.6391 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.003188, allocations: 95.78 kB / 0.6392 GB, free: 12.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.003294, allocations: 67.88 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.003329, allocations: 12 kB / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.003355, allocations: 16 kB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.003431, allocations: 55.78 kB / 0.6393 GB, free: 12.65 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.003497, allocations: 51.83 kB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.003705, allocations: 171.4 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003707, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003708, allocations: 3.938 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.003713, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003861/0.004099, allocations: 400.1 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.004129, allocations: 15.98 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.004169, allocations: 28.92 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.004587, allocations: 169.4 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.0046, allocations: 12.75 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.004616, allocations: 16.38 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.004809, allocations: 196.2 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.004817, allocations: 4.125 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.004832, allocations: 16.34 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.004857, allocations: 20.11 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.00494, allocations: 67.97 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.005456, allocations: 0.7101 MB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.005508, allocations: 173.1 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.005535, allocations: 80.14 kB / 0.6414 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.005551, allocations: 79.28 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.005579, allocations: 105.8 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.00558, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.115e-05/0.005631, allocations: 41.62 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.005667, allocations: 126.7 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.005784, allocations: 199.5 kB / 0.6419 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.00579, allocations: 25.7 kB / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.005859, allocations: 171.9 kB / 0.6421 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.00586, allocations: 0 / 0.6421 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.005895, allocations: 29.69 kB / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.005963, allocations: 330.8 kB / 0.6424 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.005976, allocations: 4 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.006011, allocations: 62.81 kB / 0.6425 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.006072, allocations: 73.56 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006074, allocations: 4 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001007/0.006174, allocations: 73.48 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006185, allocations: 4 kB / 0.6426 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.00619, allocations: 4 kB / 0.6426 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.0062, allocations: 0 / 0.6426 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.006267, allocations: 23.98 kB / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.006272, allocations: 7.984 kB / 0.6427 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.006315, allocations: 20.14 kB / 0.6427 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.006325, allocations: 11.94 kB / 0.6427 GB, free: 8.945 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.734e-05/0.006392, allocations: 191.9 kB / 0.6429 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.006432, allocations: 113 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.006465, allocations: 117.4 kB / 0.6431 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.68e-05/0.006502, allocations: 180.3 kB / 0.6433 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/0.006538, allocations: 188.2 kB / 0.6434 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/0.00657, allocations: 176.3 kB / 0.6436 GB, free: 7.957 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.006713, allocations: 361.3 kB / 0.644 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/0.006735, allocations: 104.9 kB / 0.6441 GB, free: 7.469 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.006757, allocations: 105 kB / 0.6442 GB, free: 7.359 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.55e-05/0.006793, allocations: 184.2 kB / 0.6443 GB, free: 7.172 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.006829, allocations: 176.5 kB / 0.6445 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.561e-05/0.006865, allocations: 184.3 kB / 0.6447 GB, free: 6.805 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.029e-05/0.006905, allocations: 188.2 kB / 0.6449 GB, free: 6.613 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/0.006988, allocations: 311.7 kB / 0.6452 GB, free: 6.285 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.007017, allocations: 112.9 kB / 0.6453 GB, free: 6.168 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.007061, allocations: 176.3 kB / 0.6454 GB, free: 5.988 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.007112, allocations: 108.9 kB / 0.6455 GB, free: 5.875 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.007153, allocations: 188.2 kB / 0.6457 GB, free: 5.684 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.007175, allocations: 104.9 kB / 0.6458 GB, free: 5.574 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.007218, allocations: 60.88 kB / 0.6459 GB, free: 5.512 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007218, allocations: 0 / 0.6459 GB, free: 5.512 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001449/0.007363, allocations: 39.78 kB / 0.6459 GB, free: 5.473 MB / 0.6043 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 7.224e-05/0.007435, allocations: 155.7 kB / 0.6461 GB, free: 5.312 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.072e-05/0.007496, allocations: 24.8 kB / 0.6461 GB, free: 5.285 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.007499, allocations: 0 / 0.6461 GB, free: 5.285 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.0075, allocations: 3.938 kB / 0.6461 GB, free: 5.281 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.007743, allocations: 491.8 kB / 0.6466 GB, free: 4.797 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.008073, allocations: 424 kB / 0.647 GB, free: 4.348 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.008361, allocations: 91.3 kB / 0.647 GB, free: 4.238 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.008387, allocations: 8.5 kB / 0.6471 GB, free: 4.23 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.00844, allocations: 63.36 kB / 0.6471 GB, free: 4.168 MB / 0.6043 GB Notification: Performance of SimCode: time 4.01e-07/0.008441, allocations: 0 / 0.6471 GB, free: 4.168 MB / 0.6043 GB Notification: Performance of Templates: time 0.002523/0.01096, allocations: 1.041 MB / 0.6481 GB, free: 3.129 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.268882761243731]