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.002394/0.002394, allocations: 93.47 kB / 19.44 MB, free: 340 kB / 13.93 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.002791/0.002791, allocations: 169.2 kB / 22.76 MB, free: 1.668 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.344/1.344, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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.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.164e-06/2.164e-06, allocations: 0 / 0.5199 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.936e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001824/0.001853, allocations: 0.6712 MB / 0.5206 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003062, allocations: 0.8416 MB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.003097, allocations: 0 / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.003119, allocations: 0 / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.003187, allocations: 4.781 kB / 0.5214 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.00336, allocations: 19.92 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.065e-05/0.003441, allocations: 21.45 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.003532, allocations: 8 kB / 0.5214 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.003606, allocations: 11.98 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003646, allocations: 15.91 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.003661, allocations: 0.875 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.00371, allocations: 11.94 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.003726, allocations: 5.031 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.003746, allocations: 4 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003864, allocations: 23.95 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003866, allocations: 5.031 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.003867, allocations: 0 / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.00387, allocations: 0 / 0.5215 GB, free: 0.5859 MB / 490.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.0005179/0.004388, allocations: 357.2 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.004426, allocations: 12.03 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.00453, allocations: 5.422 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.00466, allocations: 121.3 kB / 0.522 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004672, allocations: 384 / 0.522 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.004682, allocations: 5.125 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.004855, allocations: 42.25 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.004864, allocations: 0.6875 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.004872, allocations: 1.219 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.004876, allocations: 384 / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.004992, allocations: 26.83 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.005389, allocations: 255.8 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.005506, allocations: 39 kB / 0.5223 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.00557, allocations: 19.73 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.005592, allocations: 0 / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.005631, allocations: 37.39 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.005631, allocations: 1.094 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.005936, allocations: 78.06 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.005983, allocations: 51.41 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.006125, allocations: 162.5 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.006144, allocations: 26.64 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.00624, allocations: 130.9 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.006262, allocations: 7.953 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.006303, allocations: 20.81 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002753/0.006578, allocations: 492.1 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.006646, allocations: 15.98 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.006688, allocations: 4.969 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.006792, allocations: 33.7 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006793, allocations: 0 / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001471/0.006941, allocations: 61.61 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.006953, allocations: 8 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.00696, allocations: 4.812 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.006974, allocations: 3.938 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.007045, allocations: 4.812 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007049, allocations: 0 / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.007089, allocations: 12.95 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007094, allocations: 0 / 0.5235 GB, free: 14.39 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 0.0001166/0.00721, allocations: 158 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.007232, allocations: 0 / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.007422, allocations: 64.92 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.007426, allocations: 5.219 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007429, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.007431, allocations: 4 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.007608, allocations: 119.6 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007609, allocations: 3.938 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.007652, allocations: 4 kB / 0.5238 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.007656, allocations: 3.984 kB / 0.5238 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007662, allocations: 0 / 0.5238 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.007666, allocations: 3.938 kB / 0.5238 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007666, allocations: 4 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.007906, allocations: 206.3 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.007912, allocations: 0 / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007923, allocations: 0 / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/0.007986, allocations: 7.938 kB / 0.524 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.00803, allocations: 7.984 kB / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.008033, allocations: 0.6562 kB / 0.524 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002899/0.008322, allocations: 123.2 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008323, allocations: 1 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002103/0.008533, allocations: 4 kB / 0.5242 GB, free: 13.62 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.0001313/0.008664, allocations: 96.72 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.008834, allocations: 39.66 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.008836, allocations: 0.6562 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.008899, allocations: 23.12 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.009136, allocations: 4 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.009465, allocations: 126.3 kB / 0.5244 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.009534, allocations: 59.34 kB / 0.5245 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.009554, allocations: 7.875 kB / 0.5245 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.009589, allocations: 12.5 kB / 0.5245 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.009589, allocations: 2.781 kB / 0.5245 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.00308/0.01267, allocations: 473.2 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB " [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: 5.941748216981068]