Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.conf.json 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.0009513/0.0009513, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.001061/0.001061, allocations: 168.9 kB / 23.02 MB, free: 1.57 MB / 18.57 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8005/0.8005, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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) Running command: translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.5205 GB, free: 1.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.536e-05/4.791e-05, allocations: 4.5 kB / 0.5205 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002536/0.002584, allocations: 0.6037 MB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 6.197e-05/0.002646, allocations: 0 / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.002668, allocations: 0 / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.002706, allocations: 1.062 kB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.062e-05/0.002716, allocations: 0 / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.736e-05/0.002764, allocations: 0.875 kB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.002836, allocations: 13.48 kB / 0.5211 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.002899, allocations: 0 / 0.5211 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.00294, allocations: 0 / 0.5211 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.727e-05/0.002967, allocations: 0 / 0.5211 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.002984, allocations: 1.469 kB / 0.5211 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-06/0.002992, allocations: 4 kB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.003006, allocations: 1.281 kB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.003029, allocations: 0 / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.158e-05/0.003101, allocations: 0.7656 kB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.003106, allocations: 1.344 kB / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.003108, allocations: 0 / 0.5211 GB, free: 1.375 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.003115, allocations: 0 / 0.5211 GB, free: 1.375 MB / 490.7 MB 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.0003368/0.003452, allocations: 336.4 kB / 0.5215 GB, free: 1.008 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.003505, allocations: 9.031 kB / 0.5215 GB, free: 1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.003547, allocations: 8.875 kB / 0.5215 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.003627, allocations: 114.2 kB / 0.5216 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.003641, allocations: 384 / 0.5216 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.003655, allocations: 384 / 0.5216 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.00376, allocations: 30.27 kB / 0.5216 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.003772, allocations: 2.438 kB / 0.5216 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.003781, allocations: 384 / 0.5216 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.003791, allocations: 384 / 0.5216 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.003811, allocations: 7.922 kB / 0.5216 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.003936, allocations: 108.6 kB / 0.5217 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.003989, allocations: 27 kB / 0.5218 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.004022, allocations: 16.28 kB / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.004031, allocations: 1.469 kB / 0.5218 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.00406, allocations: 33.39 kB / 0.5218 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.004062, allocations: 0 / 0.5218 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.004207, allocations: 30.67 kB / 0.5218 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.004256, allocations: 59.34 kB / 0.5219 GB, free: 476 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.004309, allocations: 147.2 kB / 0.522 GB, free: 316 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.004322, allocations: 25.7 kB / 0.5221 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.004361, allocations: 126.9 kB / 0.5222 GB, free: 152 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.004399, allocations: 0.9375 kB / 0.5222 GB, free: 152 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.004439, allocations: 19.38 kB / 0.5222 GB, free: 124 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.004612, allocations: 0.4893 MB / 0.5227 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.004627, allocations: 0 / 0.5227 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.004635, allocations: 0.5 kB / 0.5227 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.004678, allocations: 16.38 kB / 0.5227 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.004681, allocations: 0 / 0.5227 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.547e-05/0.004757, allocations: 34.86 kB / 0.5227 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.004779, allocations: 10.17 kB / 0.5227 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.004786, allocations: 4 kB / 0.5227 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.00481, allocations: 0.625 kB / 0.5227 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.004899, allocations: 1.812 kB / 0.5227 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.004908, allocations: 0 / 0.5227 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.004924, allocations: 7.938 kB / 0.5227 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.004931, allocations: 0 / 0.5227 GB, free: 15.54 MB / 0.4948 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 8.799e-05/0.005019, allocations: 158.3 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.005028, allocations: 352 / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.00506, allocations: 6.938 kB / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.005062, allocations: 0 / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.005067, allocations: 0 / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.005073, allocations: 4.594 kB / 0.5229 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.005166, allocations: 112.6 kB / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.005169, allocations: 1.375 kB / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.005193, allocations: 0 / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.005196, allocations: 0 / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005203, allocations: 4 kB / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.005206, allocations: 2.594 kB / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.005208, allocations: 0 / 0.523 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.00532, allocations: 76.28 kB / 0.5231 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.005329, allocations: 7.984 kB / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.005343, allocations: 0 / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.00535, allocations: 0 / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.005369, allocations: 2.75 kB / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005372, allocations: 0 / 0.5231 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.005416, allocations: 123.2 kB / 0.5232 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005416, allocations: 0 / 0.5232 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001772/0.005593, allocations: 0 / 0.5232 GB, free: 14.99 MB / 0.4948 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 0.0001472/0.00574, allocations: 95.19 kB / 0.5233 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.005859, allocations: 12.75 kB / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.005862, allocations: 0 / 0.5233 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.005876, allocations: 16.78 kB / 0.5233 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.006039, allocations: 7.984 kB / 0.5233 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.0064, allocations: 85.58 kB / 0.5234 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.006452, allocations: 51.36 kB / 0.5235 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.006472, allocations: 0 / 0.5235 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.006501, allocations: 12.5 kB / 0.5235 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.006502, allocations: 0 / 0.5235 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.002653/0.009155, allocations: 202.3 kB / 0.5237 GB, free: 14.46 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8552837218157947]