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.0009059/0.0009059, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009221/0.0009221, allocations: 181 kB / 23.36 MB, free: 1.133 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.918/0.918, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7903/0.7903, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 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.803e-06/1.803e-06, allocations: 0.7656 kB / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.259e-05, allocations: 2.312 kB / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001216/0.001229, allocations: 0.708 MB / 481.1 MB, free: 5.797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.00196, allocations: 0.8462 MB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.001987, allocations: 0 / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.002009, allocations: 8.469 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.002063, allocations: 7.797 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.596e-05/0.002109, allocations: 12.52 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.079e-05/0.002169, allocations: 47.41 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.002226, allocations: 8.828 kB / 482 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.00229, allocations: 25.84 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.002321, allocations: 15.72 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.002336, allocations: 4 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.002343, allocations: 4 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.002357, allocations: 9.297 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.002374, allocations: 10.53 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.227e-05/0.002436, allocations: 39.5 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.002437, allocations: 0.625 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.002438, allocations: 0 / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.00244, allocations: 0.7188 kB / 482.2 MB, free: 4.777 MB / 442.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.0002369/0.002677, allocations: 253.2 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.002707, allocations: 8.031 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.881e-05/0.002726, allocations: 4.938 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.558e-05/0.002792, allocations: 114.3 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.002799, allocations: 384 / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.002808, allocations: 6.312 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.002899, allocations: 63.81 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.002905, allocations: 4.188 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.002911, allocations: 384 / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.002916, allocations: 4.359 kB / 482.6 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.002934, allocations: 13.16 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.003246, allocations: 156.2 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.922e-05/0.003295, allocations: 23.11 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.003313, allocations: 15.2 kB / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.003319, allocations: 0.7656 kB / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.003338, allocations: 30.56 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.003339, allocations: 0 / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.052e-05/0.003429, allocations: 51.36 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.003455, allocations: 54.06 kB / 482.9 MB, free: 3.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.126e-05/0.003506, allocations: 114.7 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.003514, allocations: 25.7 kB / 483.1 MB, free: 3.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.003542, allocations: 88.72 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.00356, allocations: 19.89 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.003581, allocations: 9.719 kB / 483.2 MB, free: 3.613 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.00365, allocations: 314.8 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.003661, allocations: 5.016 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.00367, allocations: 4.875 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.003692, allocations: 16.84 kB / 483.5 MB, free: 3.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003694, allocations: 1.031 kB / 483.5 MB, free: 3.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.065e-05/0.003735, allocations: 42.47 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.003744, allocations: 4 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.003748, allocations: 0.5312 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.003756, allocations: 5.031 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.003812, allocations: 11.98 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.003816, allocations: 3.938 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.003835, allocations: 12.61 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.003839, allocations: 0.625 kB / 483.6 MB, free: 3.188 MB / 442.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 4.716e-05/0.003887, allocations: 110.5 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.003899, allocations: 4 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.003914, allocations: 4.625 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.003918, allocations: 6.906 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.00392, allocations: 0 / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.003923, allocations: 0.625 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.004, allocations: 73.89 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004001, allocations: 0.5938 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.004023, allocations: 16.73 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004024, allocations: 0 / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.004028, allocations: 1.781 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004028, allocations: 4 kB / 483.8 MB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.004029, allocations: 0 / 483.8 MB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.055e-05/0.004089, allocations: 139.5 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.004096, allocations: 7.953 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.004104, allocations: 4.812 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.258e-05/0.004137, allocations: 7.984 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.00416, allocations: 12.98 kB / 484 MB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.004162, allocations: 3.938 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.758e-06/0.004172, allocations: 9.766 kB / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004172, allocations: 0 / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001053/0.004277, allocations: 9.219 kB / 484 MB, free: 2.738 MB / 442.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 5.578e-05/0.004333, allocations: 72.42 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.471e-05/0.004378, allocations: 25.38 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004379, allocations: 1.188 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.004394, allocations: 12.86 kB / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.004502, allocations: 9.312 kB / 484.1 MB, free: 2.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.00468, allocations: 131.1 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.004709, allocations: 63.28 kB / 484.3 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.004725, allocations: 4 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.004766, allocations: 55.88 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of SimCode: time 3.6e-07/0.004767, allocations: 3.938 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of Templates: time 0.001686/0.006453, allocations: 0.6692 MB / 485.1 MB, free: 1.68 MB / 442.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.467024671845138]