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.00137/0.00137, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001529/0.001529, allocations: 169 kB / 23.27 MB, free: 1.227 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 0.958/0.958, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.771/0.771, allocations: 154.9 MB / 415.1 MB, free: 264 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.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.575e-06/2.575e-06, allocations: 0 / 0.5212 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.188e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.004585/0.004617, allocations: 0.6565 MB / 0.5218 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.005562, allocations: 0.8681 MB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.005601, allocations: 0.5 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.005625, allocations: 3.938 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.005694, allocations: 2.562 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.005867, allocations: 23.69 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.005932, allocations: 29.05 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.218e-05/0.006014, allocations: 3.984 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.006087, allocations: 8 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.006121, allocations: 12.61 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.006134, allocations: 4 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.006188, allocations: 5.562 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.006204, allocations: 3.938 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/0.006219, allocations: 7.984 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.554e-05/0.006304, allocations: 19.97 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.006307, allocations: 1.812 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006308, allocations: 0 / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.006311, allocations: 0 / 0.5228 GB, free: 15.86 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.0003196/0.006631, allocations: 356.6 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.00667, allocations: 13.78 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.006755, allocations: 4.891 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.474e-05/0.00683, allocations: 112.6 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.006839, allocations: 384 / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.006845, allocations: 4.312 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.006946, allocations: 59.69 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006953, allocations: 192 / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.006959, allocations: 1.781 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006965, allocations: 4.375 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.958e-05/0.006985, allocations: 7.875 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.01026, allocations: 232.5 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.01031, allocations: 32.34 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.01033, allocations: 11.75 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01035, allocations: 1.531 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.01037, allocations: 33.39 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.01037, allocations: 0 / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.0105, allocations: 52.05 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.01052, allocations: 55.41 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.01059, allocations: 161.9 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.0106, allocations: 25.7 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.01064, allocations: 130.9 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.01066, allocations: 7.891 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.01069, allocations: 23.38 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.01086, allocations: 496.7 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.01088, allocations: 4.562 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.01088, allocations: 0.8906 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.01091, allocations: 11.69 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01091, allocations: 5.516 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.634e-05/0.01097, allocations: 33.7 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01098, allocations: 4 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01099, allocations: 4.875 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.011, allocations: 7.938 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.01108, allocations: 11.25 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.01108, allocations: 0 / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.01111, allocations: 7.984 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.01111, allocations: 4 kB / 0.5246 GB, free: 13.79 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 6.553e-05/0.01118, allocations: 152.6 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.0112, allocations: 4 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.01128, allocations: 41 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01128, allocations: 3.938 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.01128, allocations: 3 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.01129, allocations: 4 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.0114, allocations: 93.25 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.0114, allocations: 4 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.01142, allocations: 4 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01142, allocations: 7.875 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-06/0.01143, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.01143, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01143, allocations: 1.5 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.01153, allocations: 195.8 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.01154, allocations: 4 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.01154, allocations: 0.5 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.01159, allocations: 6.344 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.01162, allocations: 3.984 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.01162, allocations: 3.938 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.01166, allocations: 131.3 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 0 / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002042/0.01187, allocations: 4 kB / 0.5253 GB, free: 13.07 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 9.398e-05/0.01196, allocations: 93.69 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.01202, allocations: 19.61 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01202, allocations: 4 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.01204, allocations: 7.688 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01227, allocations: 9.906 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.01264, allocations: 118.3 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.329e-05/0.01267, allocations: 56.33 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.841e-05/0.01269, allocations: 4 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.01273, allocations: 75.08 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01273, allocations: 0 / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.005155/0.01789, allocations: 0.5036 MB / 0.5261 GB, free: 12.16 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: 3.5133451018482447]