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.06248/0.06248, allocations: 9.138 MB / 19.04 MB, free: 0.6562 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.02134/0.08382, allocations: 3.416 MB / 22.46 MB, free: 3.73 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.0007038/0.0007038, allocations: 86.7 kB / 23.3 MB, free: 2.898 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001252/0.001956, allocations: 447.5 kB / 23.74 MB, free: 2.461 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.0008775/0.0008775, allocations: 148.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002141, allocations: 483 kB / 25.11 MB, free: 1.09 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.9347/0.9347, allocations: 177.2 MB / 203 MB, free: 8.25 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1572/1.092, allocations: 53.67 MB / 256.7 MB, free: 5.305 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.003462/0.003462, allocations: 0.8476 MB / 258.3 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001213/0.004675, allocations: 0.6473 MB / 258.9 MB, free: 3.184 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.711/1.711, allocations: 275 MB / 0.5222 GB, free: 1.043 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.129/1.84, allocations: 78.91 MB / 0.5992 GB, free: 2.148 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.663e-06/1.663e-06, allocations: 0 / 0.6005 GB, free: 0.8438 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/1.102e-05, allocations: 2.312 kB / 0.6005 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Time.Examples.ModelTime): time 0.001039/0.00105, allocations: 0.6672 MB / 0.6012 GB, free: 184 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 1.719e-05/0.001067, allocations: 4 kB / 0.6012 GB, free: 180 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.001078, allocations: 3.938 kB / 0.6012 GB, free: 176 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.001096, allocations: 0 / 0.6012 GB, free: 176 kB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 1.002e-06/0.001097, allocations: 0 / 0.6012 GB, free: 176 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 1.255e-05/0.00111, allocations: 0 / 0.6012 GB, free: 176 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.303e-05/0.001153, allocations: 4 kB / 0.6012 GB, free: 172 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.001188, allocations: 11.92 kB / 0.6012 GB, free: 160 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.001221, allocations: 11.98 kB / 0.6012 GB, free: 148 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.337e-05/0.001245, allocations: 0 / 0.6012 GB, free: 148 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.00126, allocations: 0 / 0.6012 GB, free: 148 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-06/0.001265, allocations: 4 kB / 0.6012 GB, free: 144 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.001277, allocations: 4 kB / 0.6012 GB, free: 140 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.334e-05/0.001291, allocations: 0 / 0.6012 GB, free: 140 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 5.28e-05/0.001343, allocations: 3.938 kB / 0.6012 GB, free: 136 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.001354, allocations: 0 / 0.6012 GB, free: 136 kB / 0.573 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001354, allocations: 0 / 0.6012 GB, free: 136 kB / 0.573 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.001365, allocations: 0 / 0.6012 GB, free: 136 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.0002009/0.001566, allocations: 208.8 kB / 0.6014 GB, free: 15.9 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.001595, allocations: 8.031 kB / 0.6014 GB, free: 15.89 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.001622, allocations: 4.938 kB / 0.6014 GB, free: 15.89 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.138e-05/0.001684, allocations: 105.8 kB / 0.6015 GB, free: 15.76 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.001694, allocations: 8.375 kB / 0.6015 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.001702, allocations: 384 / 0.6015 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.69e-05/0.001769, allocations: 26.27 kB / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.001775, allocations: 192 / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.00178, allocations: 384 / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.001786, allocations: 384 / 0.6016 GB, free: 15.72 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.072e-05/0.001796, allocations: 11.88 kB / 0.6016 GB, free: 15.71 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.403e-05/0.001861, allocations: 53.05 kB / 0.6016 GB, free: 15.64 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.297e-05/0.001893, allocations: 26.59 kB / 0.6017 GB, free: 15.61 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.001909, allocations: 4.859 kB / 0.6017 GB, free: 15.6 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-06/0.001913, allocations: 4 kB / 0.6017 GB, free: 15.6 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.001931, allocations: 38.61 kB / 0.6017 GB, free: 15.55 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 4.81e-07/0.001932, allocations: 0 / 0.6017 GB, free: 15.55 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 7.915e-05/0.002011, allocations: 33.64 kB / 0.6017 GB, free: 15.51 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.002035, allocations: 51.41 kB / 0.6018 GB, free: 15.45 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.459e-05/0.002059, allocations: 89.86 kB / 0.6019 GB, free: 15.35 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.002067, allocations: 25.7 kB / 0.6019 GB, free: 15.32 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 1.763e-05/0.002084, allocations: 80.14 kB / 0.602 GB, free: 15.24 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.002113, allocations: 11.94 kB / 0.602 GB, free: 15.23 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.002131, allocations: 9.719 kB / 0.602 GB, free: 15.21 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.002201, allocations: 318.9 kB / 0.6023 GB, free: 14.89 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-06/0.002206, allocations: 4 kB / 0.6023 GB, free: 14.89 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-06/0.002211, allocations: 3.984 kB / 0.6023 GB, free: 14.88 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.00223, allocations: 8.859 kB / 0.6023 GB, free: 14.87 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.002231, allocations: 0 / 0.6023 GB, free: 14.87 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.705e-05/0.002258, allocations: 37.64 kB / 0.6024 GB, free: 14.83 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.002267, allocations: 7.938 kB / 0.6024 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.002271, allocations: 0 / 0.6024 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.002282, allocations: 0 / 0.6024 GB, free: 14.82 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.002328, allocations: 8.094 kB / 0.6024 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.002331, allocations: 0 / 0.6024 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-06/0.002337, allocations: 0 / 0.6024 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-06/0.00234, allocations: 0 / 0.6024 GB, free: 14.81 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.453e-05/0.002384, allocations: 113.8 kB / 0.6025 GB, free: 14.69 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-06/0.002387, allocations: 4 kB / 0.6025 GB, free: 14.69 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.114e-05/0.002398, allocations: 3 kB / 0.6025 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.002399, allocations: 0 / 0.6025 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.002401, allocations: 0 / 0.6025 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.002402, allocations: 0 / 0.6025 GB, free: 14.68 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.564e-05/0.002438, allocations: 61.84 kB / 0.6025 GB, free: 14.61 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.00244, allocations: 8 kB / 0.6025 GB, free: 14.6 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-06/0.002444, allocations: 0 / 0.6025 GB, free: 14.6 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-06/0.002447, allocations: 0 / 0.6025 GB, free: 14.6 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.002448, allocations: 3.984 kB / 0.6026 GB, free: 14.59 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.002452, allocations: 7.938 kB / 0.6026 GB, free: 14.59 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.002453, allocations: 4 kB / 0.6026 GB, free: 14.58 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.002454, allocations: 0 / 0.6026 GB, free: 14.58 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.735e-05/0.002491, allocations: 53.08 kB / 0.6026 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-06/0.002497, allocations: 0 / 0.6026 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-06/0.0025, allocations: 4 kB / 0.6026 GB, free: 14.51 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.002509, allocations: 8.016 kB / 0.6026 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-07/0.002509, allocations: 0 / 0.6026 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 7.264e-06/0.002517, allocations: 8.859 kB / 0.6026 GB, free: 14.49 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.002517, allocations: 0 / 0.6026 GB, free: 14.49 MB / 0.5887 GB Notification: Performance of remove unused functions: time 8.266e-05/0.002599, allocations: 0 / 0.6026 GB, free: 14.49 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.635e-05/0.002656, allocations: 76.36 kB / 0.6027 GB, free: 14.41 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 4.469e-05/0.0027, allocations: 16.78 kB / 0.6027 GB, free: 14.39 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.002705, allocations: 4 kB / 0.6027 GB, free: 14.38 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.002713, allocations: 12.89 kB / 0.6027 GB, free: 14.37 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.595e-05/0.002759, allocations: 7.938 kB / 0.6027 GB, free: 14.36 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001356/0.002895, allocations: 86.14 kB / 0.6028 GB, free: 14.25 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.512e-05/0.00292, allocations: 51.36 kB / 0.6029 GB, free: 14.18 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.002932, allocations: 0 / 0.6029 GB, free: 14.18 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.00296, allocations: 47.38 kB / 0.6029 GB, free: 14.13 MB / 0.5887 GB Notification: Performance of SimCode: time 3.81e-07/0.002961, allocations: 4 kB / 0.6029 GB, free: 14.12 MB / 0.5887 GB Notification: Performance of Templates: time 0.001281/0.004242, allocations: 204.7 kB / 0.6031 GB, free: 13.93 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.316462826915085]