Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.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.05739/0.05739, allocations: 9.132 MB / 28.99 MB, free: 0.8203 MB / 18.57 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.001344/0.001344, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001676/0.001676, allocations: 163.8 kB / 38.73 MB, free: 2.516 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 0.9358/0.9358, 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.00397/0.00397, allocations: 0.8222 MB / 276.5 MB, free: 0.7422 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.655/1.655, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear") translateModel(AixLib.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.485e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.QuadraticLinear): time 0.003239/0.003263, allocations: 1.557 MB / 0.6394 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.003642, allocations: 115.5 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.003691, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.496e-05/0.003746, allocations: 11.86 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.003813, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.004057, allocations: 27.91 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.004153, allocations: 47.8 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.004243, allocations: 15.97 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.004315, allocations: 19.98 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.004367, allocations: 23.92 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004387, allocations: 4 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.00446, allocations: 19.98 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.004505, allocations: 7.984 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.004533, allocations: 19.92 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004669, allocations: 43.88 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004672, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004673, allocations: 0 / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.004676, allocations: 7.938 kB / 0.6397 GB, free: 12.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003685/0.005045, allocations: 264.7 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.005083, allocations: 19.98 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.005116, allocations: 4.938 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.005224, allocations: 125.6 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.005236, allocations: 384 / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.005251, allocations: 4.375 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.005419, allocations: 65.77 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005427, allocations: 192 / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.005436, allocations: 4.359 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.005443, allocations: 384 / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.005473, allocations: 11.94 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.005928, allocations: 165.9 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.006027, allocations: 73.3 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.00605, allocations: 8.859 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.006212, allocations: 32.05 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.006239, allocations: 34.62 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.006241, allocations: 0 / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001512/0.006392, allocations: 49.56 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.006426, allocations: 55.41 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.006513, allocations: 122.7 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.006527, allocations: 25.7 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.006569, allocations: 92.11 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.006597, allocations: 15.91 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.006637, allocations: 9.719 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.006737, allocations: 322.8 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.006758, allocations: 2.828 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.006774, allocations: 4 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.00682, allocations: 19.67 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.006823, allocations: 4 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.258e-05/0.006905, allocations: 41.62 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.00692, allocations: 4 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.006925, allocations: 4 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.006941, allocations: 3.938 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.007035, allocations: 11.98 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.007039, allocations: 3.938 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.007077, allocations: 7.938 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.007085, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 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 (3): * Single equations (assignments): 3 * 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.089e-05/0.007155, allocations: 112.7 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.007182, allocations: 11.98 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.00729, allocations: 53.62 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.007296, allocations: 11.92 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.007299, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007303, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.00745, allocations: 73.88 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007453, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.007521, allocations: 8 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.007525, allocations: 0 / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.007531, allocations: 0 / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007533, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.007536, allocations: 7.984 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.007675, allocations: 186.6 kB / 0.6417 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.007686, allocations: 7.938 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.0077, allocations: 4 kB / 0.6417 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.007772, allocations: 4 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.007812, allocations: 15.95 kB / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.007818, allocations: 3.938 kB / 0.6418 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.007849, allocations: 16.84 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.007849, allocations: 0 / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002375/0.008087, allocations: 16 kB / 0.6418 GB, free: 9.867 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 (3): * Single equations (assignments): 3 * 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.0001602/0.008247, allocations: 88.34 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.00833, allocations: 12.86 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.008334, allocations: 0 / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.008361, allocations: 8.859 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.008587, allocations: 19.92 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.008937, allocations: 142.2 kB / 0.642 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.603e-05/0.008983, allocations: 67.28 kB / 0.6421 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.009016, allocations: 3.859 kB / 0.6421 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.009084, allocations: 59.36 kB / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of SimCode: time 6.41e-07/0.009084, allocations: 0 / 0.6422 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of Templates: time 0.003473/0.01256, allocations: 0.7987 MB / 0.643 GB, free: 8.609 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.sim & ./AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4264057208783925]