Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0009422/0.0009422, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001022/0.001022, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9367/0.9367, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7697/0.7697, allocations: 154.8 MB / 415.1 MB, free: 0.5039 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.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5206 GB, free: 1.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.022e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.102 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.0012/0.001221, allocations: 0.6961 MB / 0.5213 GB, free: 440 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.00199, allocations: 0.8477 MB / 0.5221 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.00203, allocations: 0.9688 kB / 0.5221 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.002056, allocations: 3.938 kB / 0.5222 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.002124, allocations: 8.938 kB / 0.5222 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.271e-05/0.002186, allocations: 11.98 kB / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.872e-05/0.002265, allocations: 48.81 kB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.00236, allocations: 7.984 kB / 0.5222 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.002457, allocations: 23.92 kB / 0.5222 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.002495, allocations: 21.03 kB / 0.5223 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.002518, allocations: 4 kB / 0.5223 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.002524, allocations: 0 / 0.5223 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.00254, allocations: 12.62 kB / 0.5223 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.002562, allocations: 11.98 kB / 0.5223 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.002645, allocations: 28.39 kB / 0.5223 GB, free: 15.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002647, allocations: 1 kB / 0.5223 GB, free: 15.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002647, allocations: 3.938 kB / 0.5223 GB, free: 15.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.002652, allocations: 0 / 0.5223 GB, free: 15.39 MB / 458.7 MB 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.0003499/0.003002, allocations: 381.7 kB / 0.5227 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.003039, allocations: 12.03 kB / 0.5227 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.003073, allocations: 5.391 kB / 0.5227 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.003162, allocations: 110.4 kB / 0.5228 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.003174, allocations: 384 / 0.5228 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.003184, allocations: 8.375 kB / 0.5228 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.003312, allocations: 58.94 kB / 0.5229 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003318, allocations: 192 / 0.5229 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.00333, allocations: 6.094 kB / 0.5229 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.003338, allocations: 8.359 kB / 0.5229 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.003371, allocations: 11.92 kB / 0.5229 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.003643, allocations: 263.8 kB / 0.5232 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.003706, allocations: 32.62 kB / 0.5232 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.003736, allocations: 19.77 kB / 0.5232 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.003743, allocations: 0 / 0.5232 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.003763, allocations: 38.14 kB / 0.5232 GB, free: 14.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.003764, allocations: 0 / 0.5232 GB, free: 14.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001389/0.003902, allocations: 55.03 kB / 0.5233 GB, free: 14.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.003928, allocations: 51.41 kB / 0.5233 GB, free: 14.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.004002, allocations: 165.9 kB / 0.5235 GB, free: 14.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.004012, allocations: 29.7 kB / 0.5235 GB, free: 13.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.004055, allocations: 136.2 kB / 0.5237 GB, free: 13.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.004071, allocations: 7.906 kB / 0.5237 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.004099, allocations: 27.36 kB / 0.5237 GB, free: 13.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.004206, allocations: 496.1 kB / 0.5242 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.004222, allocations: 0.9062 kB / 0.5242 GB, free: 13.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.004235, allocations: 4 kB / 0.5242 GB, free: 13.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.00428, allocations: 26.61 kB / 0.5242 GB, free: 13.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004282, allocations: 0 / 0.5242 GB, free: 13.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.38e-05/0.004346, allocations: 41.7 kB / 0.5242 GB, free: 13.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.004359, allocations: 7.938 kB / 0.5242 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.004364, allocations: 0 / 0.5242 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.004377, allocations: 0 / 0.5242 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.004448, allocations: 11.98 kB / 0.5243 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.004453, allocations: 3.938 kB / 0.5243 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.004477, allocations: 16.5 kB / 0.5243 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004482, allocations: 0.875 kB / 0.5243 GB, free: 13.2 MB / 458.7 MB 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 0.0003415/0.004824, allocations: 153.4 kB / 0.5244 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.004838, allocations: 8 kB / 0.5244 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.004862, allocations: 12.5 kB / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004864, allocations: 0 / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.004867, allocations: 1.469 kB / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004869, allocations: 0 / 0.5244 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.004956, allocations: 124.6 kB / 0.5246 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004957, allocations: 0 / 0.5246 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.004984, allocations: 12.98 kB / 0.5246 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.004985, allocations: 0 / 0.5246 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.004991, allocations: 0.9688 kB / 0.5246 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.004994, allocations: 7.938 kB / 0.5246 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004994, allocations: 0 / 0.5246 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.005101, allocations: 195.1 kB / 0.5248 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.005109, allocations: 8.031 kB / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.005121, allocations: 4 kB / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.005159, allocations: 11.92 kB / 0.5248 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.0052, allocations: 0 / 0.5248 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.005204, allocations: 0 / 0.5248 GB, free: 12.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.005244, allocations: 143.1 kB / 0.5249 GB, free: 12.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005244, allocations: 2.75 kB / 0.5249 GB, free: 12.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.00538, allocations: 7.938 kB / 0.5249 GB, free: 12.46 MB / 458.7 MB 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 6.473e-05/0.005445, allocations: 91.25 kB / 0.525 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.005522, allocations: 23.67 kB / 0.525 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005524, allocations: 4 kB / 0.525 GB, free: 12.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.03e-05/0.005544, allocations: 11.69 kB / 0.5251 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.005721, allocations: 12.8 kB / 0.5251 GB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.005962, allocations: 138.8 kB / 0.5252 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.005993, allocations: 59.34 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.006009, allocations: 1.719 kB / 0.5253 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.006035, allocations: 16.5 kB / 0.5253 GB, free: 12.05 MB / 458.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006036, allocations: 0 / 0.5253 GB, free: 12.05 MB / 458.7 MB Notification: Performance of Templates: time 0.002125/0.008161, allocations: 0.7341 MB / 0.526 GB, free: 11.35 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.755524866981432]