Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001474/0.001474, allocations: 94.73 kB / 19.44 MB, free: 320 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.001716/0.001716, allocations: 161.6 kB / 22.76 MB, free: 1.652 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.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.288/1.288, allocations: 154.8 MB / 414.3 MB, free: 448 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.815e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001949/0.001987, allocations: 0.5954 MB / 0.5205 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.00337, allocations: 0.8389 MB / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.003412, allocations: 0 / 0.5213 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.003448, allocations: 5.047 kB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.00352, allocations: 8.094 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.00375, allocations: 8 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.003843, allocations: 20.55 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.003901, allocations: 0.5 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.004252, allocations: 33.22 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.004309, allocations: 8 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.004325, allocations: 0 / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.004367, allocations: 4 kB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.00438, allocations: 5.797 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.004408, allocations: 8 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.004532, allocations: 27.89 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004536, allocations: 0 / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004537, allocations: 0 / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.004543, allocations: 1.75 kB / 0.5214 GB, free: 0.7031 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005186/0.005061, allocations: 246.3 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.00511, allocations: 12.03 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.005294, allocations: 12.88 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.005426, allocations: 114.5 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.00544, allocations: 384 / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.005449, allocations: 1.781 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.005587, allocations: 38.25 kB / 0.5218 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005596, allocations: 192 / 0.5218 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.005606, allocations: 1.719 kB / 0.5218 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005612, allocations: 384 / 0.5218 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.005689, allocations: 23.86 kB / 0.5218 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.005873, allocations: 98.89 kB / 0.5219 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.005959, allocations: 26.59 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.006006, allocations: 12.92 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.006025, allocations: 2.344 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.006086, allocations: 30.56 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.006087, allocations: 0 / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002732/0.00636, allocations: 57.61 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.006412, allocations: 51.97 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.00653, allocations: 109.8 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.006553, allocations: 26.27 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.006628, allocations: 85.02 kB / 0.5223 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.006659, allocations: 3.953 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.006695, allocations: 14.22 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.006882, allocations: 310.8 kB / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.006928, allocations: 13.48 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.006956, allocations: 4 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.007033, allocations: 25.72 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007035, allocations: 0 / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.007149, allocations: 47.22 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.007167, allocations: 7.938 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.007177, allocations: 3.984 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.0072, allocations: 5.031 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.007266, allocations: 0 / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.007272, allocations: 0.6875 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.007304, allocations: 7.938 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.00731, allocations: 1.281 kB / 0.5228 GB, free: 15.18 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 (1): * Single equations (assignments): 1 * 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.0001065/0.007416, allocations: 113.8 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.007431, allocations: 7.938 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.007453, allocations: 6.406 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.007454, allocations: 0 / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.007459, allocations: 0 / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.007468, allocations: 7.938 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.007571, allocations: 93.33 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.007574, allocations: 3.984 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.00762, allocations: 8 kB / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007622, allocations: 4.188 kB / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00763, allocations: 3.031 kB / 0.523 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.007638, allocations: 8 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007639, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.007786, allocations: 69.05 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.007802, allocations: 11.98 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007815, allocations: 0 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.00784, allocations: 0 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.007877, allocations: 1.5 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.00788, allocations: 4 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.007943, allocations: 83.27 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007943, allocations: 0 / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001765/0.00812, allocations: 4.438 kB / 0.5232 GB, free: 14.7 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 (1): * Single equations (assignments): 1 * 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.0001492/0.008269, allocations: 97.72 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.008411, allocations: 19.92 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008412, allocations: 0 / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.008454, allocations: 14.42 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.008619, allocations: 4 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.008925, allocations: 106.9 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.008986, allocations: 59.3 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.009012, allocations: 1.781 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.009046, allocations: 12.5 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.009046, allocations: 0 / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.002661/0.01171, allocations: 303.6 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.752627208014019]