Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.0009917/0.0009917, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.002014, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007795/0.0007795, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009217/0.001701, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1036/1.137, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.8346/0.8346, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3362/1.171, allocations: 49.13 MB / 448.4 MB, free: 6.016 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.33e-05, allocations: 4.531 kB / 449.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00201/0.002033, allocations: 0.7104 MB / 450.5 MB, free: 4 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.00304, allocations: 0.8762 MB / 451.3 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.003071, allocations: 0 / 451.3 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.003096, allocations: 3.938 kB / 451.3 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-05/0.003138, allocations: 7.047 kB / 451.3 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.703e-05/0.003235, allocations: 15.92 kB / 451.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.003313, allocations: 22.23 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.003395, allocations: 8.969 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.003486, allocations: 16.86 kB / 451.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.003526, allocations: 4.875 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.003541, allocations: 4.875 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.53e-05/0.003606, allocations: 5.406 kB / 451.4 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.003619, allocations: 4.656 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.003636, allocations: 9.172 kB / 451.4 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003739, allocations: 21.55 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.81e-05/0.003757, allocations: 0.5938 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.003759, allocations: 0 / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.003777, allocations: 1.5 kB / 451.5 MB, free: 3.012 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.0003937/0.004171, allocations: 240.6 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.004213, allocations: 12.03 kB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.004361, allocations: 78.05 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004468, allocations: 109.8 kB / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.004479, allocations: 384 / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.004487, allocations: 5.281 kB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.0046, allocations: 55.7 kB / 451.9 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.004608, allocations: 5.188 kB / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.004614, allocations: 384 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.00462, allocations: 384 / 451.9 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.004653, allocations: 17.86 kB / 452 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.004868, allocations: 140.3 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.004918, allocations: 19.08 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.004934, allocations: 10.02 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.004953, allocations: 1.281 kB / 452.1 MB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.004976, allocations: 34.62 kB / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004977, allocations: 0 / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001232/0.0051, allocations: 42.36 kB / 452.2 MB, free: 2.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.00514, allocations: 57.31 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.005204, allocations: 104.5 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005216, allocations: 29.69 kB / 452.4 MB, free: 1.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.005253, allocations: 88.08 kB / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.00527, allocations: 3.953 kB / 452.5 MB, free: 1.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.005302, allocations: 17.72 kB / 452.5 MB, free: 1.816 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.005395, allocations: 315.4 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.005406, allocations: 1.312 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-06/0.005415, allocations: 4 kB / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.005447, allocations: 18.27 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005449, allocations: 0 / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.954e-05/0.005508, allocations: 35.08 kB / 452.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.005523, allocations: 7.984 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005528, allocations: 0 / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.005537, allocations: 1.062 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.005618, allocations: 7.938 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005621, allocations: 4 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.005642, allocations: 0.7188 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.005649, allocations: 5.453 kB / 452.9 MB, free: 1.414 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 6.224e-05/0.005711, allocations: 113.8 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.005732, allocations: 0.5938 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.675e-05/0.005819, allocations: 51.03 kB / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005821, allocations: 0 / 453.1 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.005825, allocations: 4.484 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005828, allocations: 0 / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.005942, allocations: 62.69 kB / 453.1 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.005944, allocations: 0 / 453.1 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.005986, allocations: 9.422 kB / 453.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.005996, allocations: 4.656 kB / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.006, allocations: 1.781 kB / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006005, allocations: 0 / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006006, allocations: 0.8438 kB / 453.1 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.006009, allocations: 3.938 kB / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.245e-05/0.006102, allocations: 136.1 kB / 453.3 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.006113, allocations: 5.609 kB / 453.3 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.006167, allocations: 0 / 453.3 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.006199, allocations: 8.609 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.006202, allocations: 0 / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.588e-05/0.006218, allocations: 18.28 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006218, allocations: 0 / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002023/0.00642, allocations: 4 kB / 453.3 MB, free: 0.957 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 0.0001091/0.006529, allocations: 75.5 kB / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.006599, allocations: 12.84 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.006606, allocations: 4 kB / 453.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.006627, allocations: 12.8 kB / 453.4 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.006834, allocations: 8.656 kB / 453.4 MB, free: 0.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.007626, allocations: 115.9 kB / 453.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.185e-05/0.007668, allocations: 55.22 kB / 453.6 MB, free: 0.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.6e-05/0.007694, allocations: 6.344 kB / 453.6 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.007743, allocations: 51.38 kB / 453.6 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.007744, allocations: 4.594 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of Templates: time 0.002519/0.01026, allocations: 463.6 kB / 454.1 MB, free: 136 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.651937572285533]