Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0007823/0.0007823, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.00221, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000806/0.000806, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001902, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.004/1.004, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08963/1.093, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8917/0.8917, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2609/1.153, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 450 MB, free: 4.551 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.969e-05, allocations: 2.312 kB / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00121/0.00123, allocations: 0.7099 MB / 450.7 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.002014, allocations: 0.8777 MB / 451.6 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.002038, allocations: 0 / 451.6 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.00206, allocations: 3.938 kB / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.002093, allocations: 3.188 kB / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.381e-05/0.002177, allocations: 15.88 kB / 451.6 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.437e-05/0.002261, allocations: 30.06 kB / 451.7 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.00233, allocations: 0 / 451.7 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.002409, allocations: 25.72 kB / 451.7 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.505e-05/0.002454, allocations: 13.38 kB / 451.7 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002466, allocations: 0 / 451.7 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.229e-05/0.002519, allocations: 5.266 kB / 451.7 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.002535, allocations: 5.312 kB / 451.7 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.002549, allocations: 5.688 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.002641, allocations: 19.69 kB / 451.7 MB, free: 2.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.002652, allocations: 0 / 451.7 MB, free: 2.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002653, allocations: 0 / 451.7 MB, free: 2.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.002662, allocations: 4 kB / 451.7 MB, free: 2.879 MB / 426.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.0003327/0.002995, allocations: 231.6 kB / 452 MB, free: 2.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.003028, allocations: 12.92 kB / 452 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.003158, allocations: 86.05 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.003243, allocations: 113.7 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.003251, allocations: 2.156 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.003259, allocations: 384 / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.003361, allocations: 60 kB / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.003368, allocations: 192 / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-06/0.003377, allocations: 1.797 kB / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003383, allocations: 384 / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.003401, allocations: 7.938 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.003585, allocations: 145.6 kB / 452.4 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.977e-05/0.003625, allocations: 22.52 kB / 452.4 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.003637, allocations: 10.59 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.003652, allocations: 1.125 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.003673, allocations: 31.81 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003674, allocations: 0 / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 9.989e-05/0.003773, allocations: 37.73 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.003801, allocations: 56.06 kB / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.003854, allocations: 110.7 kB / 452.6 MB, free: 1.836 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.003865, allocations: 26.67 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.003897, allocations: 92 kB / 452.8 MB, free: 1.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.003913, allocations: 6.047 kB / 452.8 MB, free: 1.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.003935, allocations: 13.72 kB / 452.8 MB, free: 1.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.00403, allocations: 314.8 kB / 453.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.004042, allocations: 5.188 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.00405, allocations: 0 / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.004078, allocations: 13.88 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.00408, allocations: 0 / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.795e-05/0.004128, allocations: 33.7 kB / 453.1 MB, free: 1.312 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.004141, allocations: 5.656 kB / 453.1 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004145, allocations: 0 / 453.1 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.004156, allocations: 5.219 kB / 453.1 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.004223, allocations: 15.86 kB / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.004226, allocations: 0 / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.004241, allocations: 9.438 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.004245, allocations: 2.922 kB / 453.2 MB, free: 1.281 MB / 426.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.766e-05/0.004303, allocations: 105.8 kB / 453.3 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.004317, allocations: 8.828 kB / 453.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/0.004388, allocations: 37 kB / 453.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.004389, allocations: 1.188 kB / 453.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.004391, allocations: 3.938 kB / 453.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.004394, allocations: 0 / 453.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.835e-05/0.004472, allocations: 66.53 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004473, allocations: 0 / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.0045, allocations: 12.52 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.004505, allocations: 3.719 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.004506, allocations: 0 / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.004513, allocations: 8 kB / 453.4 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.004513, allocations: 3.938 kB / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004515, allocations: 3.938 kB / 453.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.004592, allocations: 131.5 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-06/0.004599, allocations: 0.6562 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.004628, allocations: 4 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.004654, allocations: 4.766 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.004656, allocations: 0 / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.004669, allocations: 15.27 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004669, allocations: 0 / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000106/0.004775, allocations: 5.984 kB / 453.6 MB, free: 0.832 MB / 426.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.615e-05/0.004851, allocations: 77.08 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.004912, allocations: 21.28 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.004917, allocations: 0 / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.004937, allocations: 10.42 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.005111, allocations: 34.27 kB / 453.7 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.005682, allocations: 123.3 kB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.282e-05/0.005715, allocations: 55.22 kB / 453.9 MB, free: 468 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.802e-05/0.005733, allocations: 6.797 kB / 453.9 MB, free: 464 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.005777, allocations: 53.08 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.005778, allocations: 0 / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of Templates: time 0.0019/0.007678, allocations: 470.4 kB / 454.4 MB, free: 15.96 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5059698466211557]