Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Time.Examples.ModelTime.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.04134/0.04134, allocations: 9.121 MB / 18.95 MB, free: 0.707 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006015/0.04736, allocations: 3.412 MB / 22.37 MB, free: 3.789 MB / 24.77 MB " [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.0005669/0.0005669, allocations: 86.94 kB / 23.2 MB, free: 2.965 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009177/0.001485, allocations: 443.4 kB / 23.63 MB, free: 2.531 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.0006974/0.0006974, allocations: 145 kB / 24.52 MB, free: 1.652 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009095/0.001607, allocations: 483 kB / 24.99 MB, free: 1.18 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.9333/0.9333, allocations: 177.1 MB / 202.9 MB, free: 8.348 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1592/1.093, allocations: 53.67 MB / 256.5 MB, free: 5.379 MB / 250.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.003795/0.003795, allocations: 0.8272 MB / 258.1 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.005318, allocations: 0.652 MB / 258.8 MB, free: 3.293 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.668/1.668, allocations: 274.9 MB / 0.5219 GB, free: 1.156 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1339/1.802, allocations: 78.9 MB / 0.5989 GB, free: 2.27 MB / 0.573 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Time.Examples.ModelTime") translateModel(AixLib.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6002 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.289e-05, allocations: 6.25 kB / 0.6002 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Time.Examples.ModelTime): time 0.001019/0.001032, allocations: 0.663 MB / 0.6008 GB, free: 332 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 1.411e-05/0.001046, allocations: 4 kB / 0.6008 GB, free: 328 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.001059, allocations: 0 / 0.6008 GB, free: 328 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.001075, allocations: 0 / 0.6008 GB, free: 328 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-07/0.001076, allocations: 0 / 0.6008 GB, free: 328 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 1.176e-05/0.001087, allocations: 0 / 0.6008 GB, free: 328 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.001128, allocations: 11.94 kB / 0.6009 GB, free: 316 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.001162, allocations: 0 / 0.6009 GB, free: 316 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.00119, allocations: 4 kB / 0.6009 GB, free: 312 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.001214, allocations: 0 / 0.6009 GB, free: 312 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.001226, allocations: 7.938 kB / 0.6009 GB, free: 304 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-06/0.00123, allocations: 0 / 0.6009 GB, free: 304 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.001238, allocations: 0 / 0.6009 GB, free: 304 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.001251, allocations: 4 kB / 0.6009 GB, free: 300 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 4.525e-05/0.001296, allocations: 0 / 0.6009 GB, free: 300 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.00131, allocations: 0 / 0.6009 GB, free: 300 kB / 0.573 GB Notification: Performance of FrontEnd: time 5.91e-07/0.001311, allocations: 0 / 0.6009 GB, free: 300 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.001326, allocations: 0 / 0.6009 GB, free: 300 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002113/0.001537, allocations: 216.7 kB / 0.6011 GB, free: 56 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.001567, allocations: 8.031 kB / 0.6011 GB, free: 48 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.001591, allocations: 0.9375 kB / 0.6011 GB, free: 48 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.001698, allocations: 109.8 kB / 0.6012 GB, free: 15.91 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.001707, allocations: 384 / 0.6012 GB, free: 15.91 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.001712, allocations: 384 / 0.6012 GB, free: 15.91 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.37e-05/0.001776, allocations: 38.25 kB / 0.6012 GB, free: 15.87 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.001783, allocations: 192 / 0.6012 GB, free: 15.87 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.001788, allocations: 4.375 kB / 0.6012 GB, free: 15.87 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.001793, allocations: 4.375 kB / 0.6012 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.109e-05/0.001804, allocations: 7.875 kB / 0.6012 GB, free: 15.86 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.134e-05/0.001865, allocations: 61.03 kB / 0.6013 GB, free: 15.78 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 2.895e-05/0.001894, allocations: 18.61 kB / 0.6013 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.001911, allocations: 4.859 kB / 0.6013 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.001917, allocations: 4.062 kB / 0.6013 GB, free: 15.74 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.001935, allocations: 34.56 kB / 0.6014 GB, free: 15.7 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.001935, allocations: 0 / 0.6014 GB, free: 15.7 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 7.552e-05/0.002011, allocations: 37.62 kB / 0.6014 GB, free: 15.66 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.002038, allocations: 51.41 kB / 0.6014 GB, free: 15.59 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.349e-05/0.002061, allocations: 89.86 kB / 0.6015 GB, free: 15.5 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.00207, allocations: 25.7 kB / 0.6016 GB, free: 15.46 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.002087, allocations: 84.14 kB / 0.6016 GB, free: 15.38 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.002112, allocations: 3.953 kB / 0.6016 GB, free: 15.38 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.002132, allocations: 13.72 kB / 0.6017 GB, free: 15.36 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.002203, allocations: 318.8 kB / 0.602 GB, free: 15.04 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.002208, allocations: 4.125 kB / 0.602 GB, free: 15.03 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-06/0.002212, allocations: 0 / 0.602 GB, free: 15.03 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.998e-05/0.002232, allocations: 8.859 kB / 0.602 GB, free: 15.02 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.002233, allocations: 0 / 0.602 GB, free: 15.02 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.01e-05/0.002263, allocations: 37.62 kB / 0.602 GB, free: 14.98 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.002277, allocations: 6.344 kB / 0.602 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.002281, allocations: 0 / 0.602 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.002289, allocations: 0 / 0.602 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.00234, allocations: 4 kB / 0.602 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.002342, allocations: 4.094 kB / 0.602 GB, free: 14.96 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-06/0.002349, allocations: 0 / 0.602 GB, free: 14.96 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.002352, allocations: 3.938 kB / 0.602 GB, free: 14.96 MB / 0.5887 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 4.422e-05/0.002396, allocations: 117.8 kB / 0.6021 GB, free: 14.84 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-06/0.002399, allocations: 0 / 0.6021 GB, free: 14.84 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.00241, allocations: 3 kB / 0.6021 GB, free: 14.83 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.002411, allocations: 0 / 0.6021 GB, free: 14.83 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.002415, allocations: 3.984 kB / 0.6021 GB, free: 14.83 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.002417, allocations: 0 / 0.6021 GB, free: 14.83 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.872e-05/0.002456, allocations: 65.84 kB / 0.6022 GB, free: 14.75 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.002456, allocations: 0 / 0.6022 GB, free: 14.75 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.00246, allocations: 4 kB / 0.6022 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-06/0.002463, allocations: 0 / 0.6022 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.002465, allocations: 4 kB / 0.6022 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-06/0.002467, allocations: 0 / 0.6022 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.002468, allocations: 0 / 0.6022 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.002469, allocations: 3.938 kB / 0.6022 GB, free: 14.73 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.108e-05/0.00251, allocations: 61.06 kB / 0.6023 GB, free: 14.66 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.002516, allocations: 4 kB / 0.6023 GB, free: 14.65 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.896e-06/0.002519, allocations: 0 / 0.6023 GB, free: 14.65 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-06/0.002528, allocations: 0 / 0.6023 GB, free: 14.65 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.00253, allocations: 8.031 kB / 0.6023 GB, free: 14.64 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 4.799e-06/0.002535, allocations: 4.859 kB / 0.6023 GB, free: 14.64 MB / 0.5887 GB Notification: Performance of sort global known variables: time 4e-08/0.002535, allocations: 0 / 0.6023 GB, free: 14.64 MB / 0.5887 GB Notification: Performance of remove unused functions: time 8.236e-05/0.002617, allocations: 0 / 0.6023 GB, free: 14.64 MB / 0.5887 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 (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 Backend phase and start with SimCode phase: time 5.677e-05/0.002674, allocations: 80.36 kB / 0.6024 GB, free: 14.55 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 4.353e-05/0.002717, allocations: 12.78 kB / 0.6024 GB, free: 14.54 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.002722, allocations: 4 kB / 0.6024 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.002726, allocations: 4.859 kB / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.164e-05/0.002767, allocations: 8.062 kB / 0.6024 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001326/0.0029, allocations: 90.16 kB / 0.6025 GB, free: 14.4 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.68e-05/0.002927, allocations: 55.34 kB / 0.6025 GB, free: 14.32 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 9.929e-06/0.002937, allocations: 0 / 0.6025 GB, free: 14.32 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.002962, allocations: 47.38 kB / 0.6026 GB, free: 14.28 MB / 0.5887 GB Notification: Performance of SimCode: time 3.4e-07/0.002962, allocations: 0 / 0.6026 GB, free: 14.28 MB / 0.5887 GB Notification: Performance of Templates: time 0.001297/0.004259, allocations: 198.7 kB / 0.6028 GB, free: 14.09 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe ; mkfifo AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe >> ../files/AixLib_AixLib.Utilities.Time.Examples.ModelTime.sim & ./AixLib_AixLib.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.254322385415435]