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.0009034/0.0009034, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009612/0.0009612, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.08/1.08, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7803/0.7803, allocations: 154.9 MB / 415.9 MB, free: 244 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.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 2.254e-06/2.254e-06, allocations: 0 / 0.522 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.735e-05, allocations: 5.625 kB / 0.522 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001359/0.001386, allocations: 0.6521 MB / 0.5226 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.002225, allocations: 0.8679 MB / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.002259, allocations: 4 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.002285, allocations: 0.625 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.002349, allocations: 3.938 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.00251, allocations: 19.2 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.002573, allocations: 23.91 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.002654, allocations: 8 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.002722, allocations: 15.92 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.002757, allocations: 4 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.00277, allocations: 0 / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.002815, allocations: 8 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.002831, allocations: 3.984 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.002846, allocations: 8.531 kB / 0.5235 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.372e-05/0.00293, allocations: 19.91 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.002933, allocations: 4.5 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002934, allocations: 0.5938 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.002938, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB 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.0003152/0.003253, allocations: 361.4 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.00329, allocations: 9.5 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.003378, allocations: 12.88 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.003458, allocations: 104.6 kB / 0.524 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.003471, allocations: 4.375 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-06/0.003477, allocations: 1.312 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.003576, allocations: 54.95 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003582, allocations: 1.406 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.003588, allocations: 384 / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.003593, allocations: 384 / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.003615, allocations: 11.92 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.003851, allocations: 229.8 kB / 0.5243 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.003897, allocations: 31.06 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.00391, allocations: 7.688 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.003923, allocations: 0.8125 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.003943, allocations: 37.45 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.003944, allocations: 1.281 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.004061, allocations: 53.52 kB / 0.5244 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.004088, allocations: 52.75 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.004154, allocations: 161.9 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.004162, allocations: 29.64 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.004199, allocations: 126.9 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.004215, allocations: 12.67 kB / 0.5248 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.004239, allocations: 15.38 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.00435, allocations: 0.494 MB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.004359, allocations: 0 / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.004368, allocations: 4 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.004392, allocations: 13.81 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004393, allocations: 0 / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.973e-05/0.004443, allocations: 37.64 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.004454, allocations: 8 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004458, allocations: 0 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.004467, allocations: 3.938 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.004523, allocations: 9.453 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.004525, allocations: 0 / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.004543, allocations: 8 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004547, allocations: 0.9688 kB / 0.5254 GB, free: 13.75 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 (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.923e-05/0.004606, allocations: 156.6 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.004621, allocations: 4.906 kB / 0.5255 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.488e-05/0.004696, allocations: 44.94 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.004698, allocations: 4.625 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.0047, allocations: 0.75 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.004704, allocations: 3.984 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.961e-05/0.004794, allocations: 102.5 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004795, allocations: 0 / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.004821, allocations: 4 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.004823, allocations: 0.5312 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.004827, allocations: 0 / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004827, allocations: 0.5312 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.004828, allocations: 5.469 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/0.004912, allocations: 191.8 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.004917, allocations: 0 / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.004925, allocations: 4 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/0.004956, allocations: 14.36 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.004979, allocations: 0 / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.004982, allocations: 7.938 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.005013, allocations: 127.1 kB / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005013, allocations: 0 / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001361/0.005149, allocations: 4 kB / 0.526 GB, free: 13.03 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 (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 0.0001011/0.00525, allocations: 98.02 kB / 0.5261 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.162e-05/0.005322, allocations: 15.69 kB / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.005323, allocations: 0 / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.005339, allocations: 11.69 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.005542, allocations: 10.89 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.005946, allocations: 119.4 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.005982, allocations: 62.08 kB / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.005998, allocations: 0 / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.00605, allocations: 70.2 kB / 0.5264 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.006051, allocations: 0 / 0.5264 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.001999/0.00805, allocations: 0.5154 MB / 0.5269 GB, free: 12.09 MB / 0.4948 GB " [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.8258868739940226]