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.0009614/0.0009614, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.00112/0.00112, allocations: 177 kB / 23.36 MB, free: 1.137 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 1.038/1.038, 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.7844/0.7844, allocations: 154.9 MB / 415.1 MB, free: 224 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.404e-06/2.404e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.999e-05, allocations: 8.219 kB / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001616/0.001646, allocations: 0.6624 MB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.00253, allocations: 0.8655 MB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.002571, allocations: 1.547 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.002603, allocations: 3.938 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.002686, allocations: 1.422 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.002894, allocations: 18.44 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.002975, allocations: 28.41 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.003057, allocations: 11.92 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.003138, allocations: 13.73 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.003177, allocations: 8.875 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.003193, allocations: 0.5625 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.582e-05/0.003238, allocations: 4.625 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.003256, allocations: 8.859 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.003273, allocations: 5.531 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/0.003367, allocations: 21.61 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.00337, allocations: 1.156 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003371, allocations: 0 / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003374, allocations: 0 / 482.1 MB, free: 4.875 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.0002892/0.003663, allocations: 237.4 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.003695, allocations: 8.797 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.003777, allocations: 6.719 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.465e-05/0.003852, allocations: 109.8 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.003862, allocations: 384 / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.003871, allocations: 4.375 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/0.003961, allocations: 59.41 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003967, allocations: 1.781 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.003974, allocations: 4.922 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.00398, allocations: 4.375 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.003999, allocations: 3.938 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.004449, allocations: 145 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.004488, allocations: 19.64 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.091e-05/0.004499, allocations: 13.52 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.004512, allocations: 0 / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.004532, allocations: 39.19 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004533, allocations: 2.156 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.62e-05/0.004629, allocations: 33.73 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.004658, allocations: 59.34 kB / 482.8 MB, free: 4.039 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.004706, allocations: 104 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.004714, allocations: 25.7 kB / 482.9 MB, free: 3.895 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.00474, allocations: 89.56 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.004758, allocations: 11.89 kB / 483 MB, free: 3.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.004778, allocations: 9.719 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.004848, allocations: 322.8 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.004856, allocations: 1.312 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.004863, allocations: 0 / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.00489, allocations: 21.5 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004891, allocations: 0 / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.93e-05/0.00493, allocations: 30.3 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.004942, allocations: 8.625 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.004947, allocations: 4.859 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.00496, allocations: 0.625 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.005024, allocations: 8.562 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005026, allocations: 3.938 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.005042, allocations: 4.625 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005046, allocations: 0 / 483.5 MB, free: 3.367 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 4.599e-05/0.005092, allocations: 106.5 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.005105, allocations: 8.922 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.00517, allocations: 44.78 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005171, allocations: 1.719 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.005174, allocations: 7.938 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.005177, allocations: 0 / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.468e-05/0.005252, allocations: 65.91 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.005253, allocations: 3.844 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.005281, allocations: 7.984 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005282, allocations: 1 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.005286, allocations: 0 / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005287, allocations: 0 / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005288, allocations: 0.5312 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.752e-05/0.005355, allocations: 140.7 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.005361, allocations: 3.953 kB / 483.8 MB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-06/0.005369, allocations: 5.203 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.005398, allocations: 4.656 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.005425, allocations: 7.984 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.005427, allocations: 1.219 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.337e-05/0.00544, allocations: 16.78 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00544, allocations: 0 / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.005551, allocations: 5.062 kB / 483.9 MB, free: 2.906 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 9.045e-05/0.005642, allocations: 72.42 kB / 483.9 MB, free: 2.824 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.391e-05/0.005696, allocations: 22.47 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.005698, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.005713, allocations: 8.859 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.00585, allocations: 9.328 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.006204, allocations: 107.3 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006238, allocations: 59.34 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.698e-05/0.006255, allocations: 0.6562 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.006295, allocations: 52.06 kB / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006296, allocations: 0 / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of Templates: time 0.001934/0.00823, allocations: 454.7 kB / 484.6 MB, free: 2.105 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.573022095952183]