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.001335/0.001335, allocations: 93.06 kB / 19.65 MB, free: 280 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.001503/0.001503, allocations: 169 kB / 23.02 MB, free: 1.547 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.9254/0.9254, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7117/0.7117, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.255e-06/2.255e-06, allocations: 0 / 0.5204 GB, free: 2.016 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.689e-05, allocations: 4.953 kB / 0.5204 GB, free: 2.012 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001185/0.001212, allocations: 0.6037 MB / 0.5209 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.001992, allocations: 0.8641 MB / 0.5218 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.002018, allocations: 0.5469 kB / 0.5218 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.002043, allocations: 1.406 kB / 0.5218 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.002092, allocations: 5.75 kB / 0.5218 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.002251, allocations: 19.84 kB / 0.5218 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.00231, allocations: 17.28 kB / 0.5218 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.002342, allocations: 4 kB / 0.5218 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.00247, allocations: 19.92 kB / 0.5219 GB, free: 500 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.002509, allocations: 9.641 kB / 0.5219 GB, free: 492 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.002522, allocations: 4 kB / 0.5219 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.002556, allocations: 7.938 kB / 0.5219 GB, free: 480 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.002566, allocations: 3.984 kB / 0.5219 GB, free: 476 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.002583, allocations: 6.25 kB / 0.5219 GB, free: 472 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.002667, allocations: 11.98 kB / 0.5219 GB, free: 460 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002669, allocations: 0 / 0.5219 GB, free: 460 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00267, allocations: 0 / 0.5219 GB, free: 460 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.002674, allocations: 0 / 0.5219 GB, free: 460 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.0002982/0.002972, allocations: 356.6 kB / 0.5222 GB, free: 64 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.003005, allocations: 12.53 kB / 0.5223 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.003111, allocations: 13.48 kB / 0.5223 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.003203, allocations: 108.6 kB / 0.5224 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003215, allocations: 5.312 kB / 0.5224 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.003222, allocations: 384 / 0.5224 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.003308, allocations: 47.48 kB / 0.5224 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003315, allocations: 1.594 kB / 0.5224 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.003323, allocations: 4.312 kB / 0.5224 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.00333, allocations: 384 / 0.5224 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.003345, allocations: 7.938 kB / 0.5224 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.65e-05/0.003442, allocations: 105.6 kB / 0.5225 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.003481, allocations: 39.02 kB / 0.5226 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.003497, allocations: 9.219 kB / 0.5226 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.003508, allocations: 0 / 0.5226 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.003527, allocations: 37.45 kB / 0.5226 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.003528, allocations: 0 / 0.5226 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001162/0.003644, allocations: 34.69 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.003671, allocations: 55.34 kB / 0.5227 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.389e-05/0.003735, allocations: 170.5 kB / 0.5229 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.003744, allocations: 25.7 kB / 0.5229 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.003777, allocations: 132.2 kB / 0.523 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.003796, allocations: 0 / 0.523 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.003819, allocations: 23.36 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.003909, allocations: 492.8 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.003918, allocations: 0 / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.003926, allocations: 5.219 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.00395, allocations: 14.94 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.003953, allocations: 4 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.639e-05/0.003999, allocations: 41.62 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.004012, allocations: 6.031 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.004015, allocations: 0 / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004026, allocations: 0 / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.004081, allocations: 4 kB / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.004085, allocations: 0 / 0.5236 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.004099, allocations: 6.969 kB / 0.5236 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.004109, allocations: 4 kB / 0.5236 GB, free: 14.53 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 5.074e-05/0.004159, allocations: 152.6 kB / 0.5237 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.004166, allocations: 7.938 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.004184, allocations: 14.75 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.004186, allocations: 3.984 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.00419, allocations: 0 / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.004193, allocations: 3.938 kB / 0.5238 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.22e-05/0.004245, allocations: 110.1 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.004246, allocations: 3.938 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.004261, allocations: 3.984 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.004263, allocations: 4 kB / 0.5239 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.004269, allocations: 0.5 kB / 0.5239 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.00427, allocations: 1.031 kB / 0.5239 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004271, allocations: 0 / 0.5239 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.117e-05/0.004332, allocations: 80.81 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-06/0.004336, allocations: 2.562 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.004345, allocations: 0 / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.004355, allocations: 4 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.00438, allocations: 0 / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.004382, allocations: 0 / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.004412, allocations: 127.2 kB / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004412, allocations: 0 / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001085/0.004521, allocations: 10.38 kB / 0.5241 GB, free: 13.95 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 7.156e-05/0.004592, allocations: 91.25 kB / 0.5242 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.77e-05/0.00466, allocations: 15.69 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.004661, allocations: 0 / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.004673, allocations: 13.31 kB / 0.5242 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.004775, allocations: 7.984 kB / 0.5242 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.005156, allocations: 119.4 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.005185, allocations: 55.36 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.0052, allocations: 4.938 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.005222, allocations: 8.5 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.005223, allocations: 1.406 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.001747/0.006969, allocations: 316.9 kB / 0.5247 GB, free: 13.29 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.3999365279451013]