Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.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.0009746/0.0009746, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009863/0.0009863, allocations: 177 kB / 23.36 MB, free: 1.129 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.943/0.943, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.8119/0.8119, allocations: 154.9 MB / 415.1 MB, free: 236 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.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.354e-05, allocations: 10.25 kB / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001375/0.001399, allocations: 0.6514 MB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.002213, allocations: 0.8708 MB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.002239, allocations: 0 / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.002268, allocations: 3.938 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.002323, allocations: 2.828 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.002461, allocations: 11.94 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.002519, allocations: 29.17 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.002579, allocations: 11.39 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.002643, allocations: 12.77 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.002674, allocations: 13.28 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.002686, allocations: 0 / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.666e-05/0.002723, allocations: 4 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.002737, allocations: 9.203 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.246e-05/0.002749, allocations: 4.969 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.24e-05/0.002822, allocations: 20.53 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002824, allocations: 0 / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002825, allocations: 1.891 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.002828, allocations: 0 / 482.1 MB, free: 4.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002359/0.003064, allocations: 234.6 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.003091, allocations: 8.031 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.003161, allocations: 9.266 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.00323, allocations: 109.8 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.003238, allocations: 4.375 kB / 482.4 MB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.003245, allocations: 5.25 kB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.294e-05/0.003328, allocations: 52.39 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.003333, allocations: 1.469 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.003341, allocations: 5.453 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.003344, allocations: 384 / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.003361, allocations: 8.797 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.003521, allocations: 144.3 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.003557, allocations: 27.48 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.003568, allocations: 12.8 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.003579, allocations: 0.625 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.003598, allocations: 35.5 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.003599, allocations: 0.8125 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.856e-05/0.003687, allocations: 35.23 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.003714, allocations: 60.55 kB / 482.8 MB, free: 4.027 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.257e-05/0.003757, allocations: 98.72 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.003766, allocations: 25.7 kB / 482.9 MB, free: 3.887 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.003793, allocations: 92.12 kB / 483 MB, free: 3.793 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.003808, allocations: 12.95 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.003829, allocations: 14.47 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.0039, allocations: 319.9 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.003908, allocations: 0 / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.003916, allocations: 4 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.003937, allocations: 9.516 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003938, allocations: 1.562 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.046e-05/0.003979, allocations: 37.69 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.003988, allocations: 4.547 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.003992, allocations: 0 / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.004002, allocations: 1.344 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.00406, allocations: 11.92 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.004063, allocations: 3.938 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.004078, allocations: 5.203 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004082, allocations: 0 / 483.5 MB, free: 3.359 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 (2): * Single equations (assignments): 2 * 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 5.809e-05/0.00414, allocations: 115.1 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.004153, allocations: 0.6094 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.004221, allocations: 41.14 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.004223, allocations: 4.547 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.004226, allocations: 4.812 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004229, allocations: 0 / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.022e-05/0.004309, allocations: 69.88 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.00431, allocations: 0.9062 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.004335, allocations: 5.766 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004338, allocations: 0.625 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.004342, allocations: 0 / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.004342, allocations: 0.625 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.004348, allocations: 8.609 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.121e-05/0.004419, allocations: 140.1 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.004425, allocations: 3.953 kB / 483.8 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.004434, allocations: 4.609 kB / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.734e-05/0.004461, allocations: 4.562 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.004485, allocations: 0.625 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.004486, allocations: 0.5938 kB / 483.8 MB, free: 2.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.172e-05/0.004498, allocations: 18.2 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004498, allocations: 0.75 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000107/0.004605, allocations: 4 kB / 483.9 MB, free: 2.902 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 (2): * Single equations (assignments): 2 * 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 7.076e-05/0.004676, allocations: 74.2 kB / 483.9 MB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.485e-05/0.004721, allocations: 20.8 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.004723, allocations: 1.438 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.155e-05/0.004735, allocations: 8.859 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.004857, allocations: 17.02 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.005174, allocations: 116.5 kB / 484.1 MB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.947e-05/0.005204, allocations: 51.36 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.00522, allocations: 0 / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.005258, allocations: 55.36 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005258, allocations: 1.5 kB / 484.2 MB, free: 2.508 MB / 442.7 MB Notification: Performance of Templates: time 0.001706/0.006964, allocations: 460.5 kB / 484.7 MB, free: 2.082 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.714492848608643]