Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009384/0.0009384, allocations: 77.83 kB / 20.66 MB, free: 3.82 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.001436/0.001436, allocations: 177 kB / 24.07 MB, free: 424 kB / 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.9442/0.9442, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7468/0.7468, allocations: 154.6 MB / 415.6 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.484e-05, allocations: 6.312 kB / 0.5216 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.004982/0.005017, allocations: 0.5972 MB / 0.5222 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.006075, allocations: 0.8615 MB / 0.523 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.00611, allocations: 0 / 0.523 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.006138, allocations: 0.5469 kB / 0.523 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.006201, allocations: 10.88 kB / 0.523 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.006379, allocations: 15.88 kB / 0.523 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.006462, allocations: 19.92 kB / 0.523 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.006507, allocations: 0 / 0.523 GB, free: 376 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.006672, allocations: 20.72 kB / 0.5231 GB, free: 356 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.006723, allocations: 7.938 kB / 0.5231 GB, free: 348 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.006737, allocations: 1.406 kB / 0.5231 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.006781, allocations: 8 kB / 0.5231 GB, free: 340 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.006794, allocations: 3.984 kB / 0.5231 GB, free: 336 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.006809, allocations: 4 kB / 0.5231 GB, free: 332 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.006928, allocations: 17.31 kB / 0.5231 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.006932, allocations: 3.938 kB / 0.5231 GB, free: 312 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006933, allocations: 0 / 0.5231 GB, free: 312 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.006938, allocations: 1.562 kB / 0.5231 GB, free: 312 kB / 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.0003723/0.00731, allocations: 360.6 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.007349, allocations: 8.031 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.007496, allocations: 8.938 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.007594, allocations: 111 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.007605, allocations: 4.312 kB / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.007612, allocations: 4.375 kB / 0.5236 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.1e-05/0.007703, allocations: 38.97 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.007711, allocations: 192 / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.007717, allocations: 4.375 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.007723, allocations: 0.9375 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.007741, allocations: 8.484 kB / 0.5236 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.007858, allocations: 102.1 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.415e-05/0.007902, allocations: 27.06 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.007919, allocations: 9.219 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.007933, allocations: 4.094 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.007956, allocations: 33.39 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.007957, allocations: 0 / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.008085, allocations: 46.5 kB / 0.5238 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.008119, allocations: 51.41 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.008203, allocations: 167.4 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.008214, allocations: 25.7 kB / 0.5241 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.008257, allocations: 126.9 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.008285, allocations: 7.984 kB / 0.5242 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.008317, allocations: 20.47 kB / 0.5242 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.008451, allocations: 496.1 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.008463, allocations: 0 / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.008472, allocations: 4.688 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.008503, allocations: 12.95 kB / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008505, allocations: 0 / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.022e-05/0.008575, allocations: 37.64 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.00859, allocations: 7.25 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.008595, allocations: 0 / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.008604, allocations: 0 / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.00867, allocations: 4 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.008673, allocations: 0 / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.008694, allocations: 3.984 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.008707, allocations: 7.938 kB / 0.5248 GB, free: 14.41 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 8e-05/0.008787, allocations: 152.6 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.0088, allocations: 6.984 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.008823, allocations: 14.75 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008825, allocations: 3.938 kB / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008827, allocations: 0 / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00883, allocations: 0 / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.109e-05/0.008911, allocations: 101.2 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008912, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.008948, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.00895, allocations: 1.5 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.008955, allocations: 4 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008956, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008957, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.009322, allocations: 80.8 kB / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.00933, allocations: 2.656 kB / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.00934, allocations: 0 / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.009367, allocations: 8 kB / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.009391, allocations: 0 / 0.5251 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.009396, allocations: 3.984 kB / 0.5251 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.00944, allocations: 127.2 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.00944, allocations: 2.438 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001977/0.009638, allocations: 0 / 0.5253 GB, free: 13.87 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.0001169/0.009755, allocations: 95.25 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.593e-05/0.009831, allocations: 15.67 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.009833, allocations: 5.781 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.009848, allocations: 7.688 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.01, allocations: 7.938 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.01044, allocations: 123.3 kB / 0.5255 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.01047, allocations: 52.3 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.01049, allocations: 4 kB / 0.5256 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.01054, allocations: 71.22 kB / 0.5256 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01054, allocations: 0 / 0.5256 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002512/0.01305, allocations: 329.4 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6276485240086913]