Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.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.05475/0.05475, allocations: 9.127 MB / 28.99 MB, free: 328 kB / 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.0012/0.0012, allocations: 102.3 kB / 35.33 MB, free: 0.9219 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.001504/0.001504, allocations: 164.1 kB / 38.73 MB, free: 2.398 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.9426/0.9426, allocations: 177.1 MB / 219.2 MB, free: 10.14 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.004002/0.004002, allocations: 0.8185 MB / 276.5 MB, free: 0.7695 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.639/1.639, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.787e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001628/0.001646, allocations: 0.6795 MB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.002729, allocations: 0.8625 MB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.002759, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.002788, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.957e-05/0.002848, allocations: 11.88 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.002982, allocations: 11.97 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.003035, allocations: 31.92 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.003091, allocations: 0 / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.003151, allocations: 15.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.00318, allocations: 7.938 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.003192, allocations: 4 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.69e-05/0.003229, allocations: 7.938 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.003242, allocations: 7.969 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.003257, allocations: 8 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.959e-05/0.003326, allocations: 15.92 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003328, allocations: 0 / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003328, allocations: 0 / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.465e-06/0.003331, allocations: 7.938 kB / 0.6395 GB, free: 12.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000222/0.003553, allocations: 244.9 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.003582, allocations: 11.98 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.003653, allocations: 4.938 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.279e-05/0.003716, allocations: 105.8 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.003724, allocations: 4.375 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.003731, allocations: 384 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.681e-05/0.003808, allocations: 58.94 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.003815, allocations: 4.172 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.00382, allocations: 384 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.003823, allocations: 4.375 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.003842, allocations: 11.88 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.003997, allocations: 140.4 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.44e-05/0.004032, allocations: 18.58 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.058e-05/0.004042, allocations: 4.922 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.004053, allocations: 4 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.004072, allocations: 34.56 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004072, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.114e-05/0.004154, allocations: 41.62 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.00418, allocations: 59.47 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.004225, allocations: 102.7 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.004234, allocations: 29.7 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.004258, allocations: 80.14 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.004272, allocations: 7.938 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.004296, allocations: 25.7 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.004364, allocations: 310.8 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.004371, allocations: 4 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.004377, allocations: 0 / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/0.004397, allocations: 16.78 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004399, allocations: 4.062 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.28e-05/0.004431, allocations: 33.7 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.00444, allocations: 4 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.004443, allocations: 0 / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.00445, allocations: 0 / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.004499, allocations: 15.92 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.004501, allocations: 3.938 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.004515, allocations: 3.938 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.004519, allocations: 4 kB / 0.6409 GB, free: 10.87 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 (2): * Single equations (assignments): 2 * 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 4.322e-05/0.004562, allocations: 109.9 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.004572, allocations: 0 / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.004626, allocations: 48.94 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.004628, allocations: 3.984 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.004634, allocations: 3.938 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004636, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.004708, allocations: 65.89 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004709, allocations: 0 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.004727, allocations: 11.98 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.004727, allocations: 4 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-06/0.004731, allocations: 4.031 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004732, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.004732, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.77e-05/0.00479, allocations: 135.4 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.004795, allocations: 4 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-06/0.004801, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.694e-05/0.004828, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.004852, allocations: 8 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.004854, allocations: 3.984 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.688e-06/0.004864, allocations: 12.98 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004864, allocations: 32 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001105/0.004974, allocations: 8 kB / 0.6413 GB, free: 10.41 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 (2): * Single equations (assignments): 2 * 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 5.583e-05/0.00503, allocations: 72.42 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.095e-05/0.005071, allocations: 8.859 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005073, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.255e-05/0.005085, allocations: 16.78 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.005196, allocations: 8 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.005483, allocations: 112.8 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.758e-05/0.00551, allocations: 59.34 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.249e-05/0.005523, allocations: 144 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.005556, allocations: 51.38 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of SimCode: time 4.01e-07/0.005556, allocations: 0 / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of Templates: time 0.001553/0.00711, allocations: 456.6 kB / 0.642 GB, free: 9.578 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.242685929872096]