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.001001/0.001001, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001112/0.001112, allocations: 169 kB / 23.49 MB, free: 1.059 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.074/1.074, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8089/0.8089, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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 3.547e-06/3.547e-06, allocations: 0 / 0.5204 GB, free: 2.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.164e-05/4.519e-05, allocations: 5.125 kB / 0.5204 GB, free: 2.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001666/0.001712, allocations: 0.5992 MB / 0.521 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.002606, allocations: 0.8632 MB / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.002642, allocations: 0 / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.002671, allocations: 0 / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.002726, allocations: 0 / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.002925, allocations: 16.42 kB / 0.5218 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.003001, allocations: 28.42 kB / 0.5219 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.003048, allocations: 0 / 0.5219 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003208, allocations: 16.86 kB / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.003262, allocations: 7.984 kB / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003277, allocations: 0.5 kB / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.00332, allocations: 5.5 kB / 0.5219 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.00333, allocations: 4 kB / 0.5219 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.003349, allocations: 7.938 kB / 0.5219 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003455, allocations: 15.97 kB / 0.5219 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.003459, allocations: 4.938 kB / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003461, allocations: 0 / 0.5219 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.003465, allocations: 0 / 0.5219 GB, free: 0.8984 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.0003595/0.003825, allocations: 354.1 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.003864, allocations: 8.031 kB / 0.5223 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.003999, allocations: 16.92 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.004097, allocations: 113.6 kB / 0.5224 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.004108, allocations: 384 / 0.5224 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.004117, allocations: 384 / 0.5224 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004221, allocations: 51.62 kB / 0.5224 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.004228, allocations: 1.469 kB / 0.5224 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004237, allocations: 384 / 0.5224 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.004245, allocations: 384 / 0.5224 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.004262, allocations: 4.531 kB / 0.5224 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.004387, allocations: 116.6 kB / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.004428, allocations: 32.03 kB / 0.5226 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.004448, allocations: 7.688 kB / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.004462, allocations: 0.5 kB / 0.5226 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.004485, allocations: 33.45 kB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.004486, allocations: 4.656 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001652/0.004651, allocations: 43.62 kB / 0.5227 GB, free: 16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.00469, allocations: 51.41 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.004802, allocations: 173.8 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.004815, allocations: 25.7 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.004864, allocations: 130.9 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.00489, allocations: 1.281 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.004933, allocations: 23.36 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.005066, allocations: 496.1 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.005083, allocations: 1.469 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-06/0.005091, allocations: 0 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.005121, allocations: 11.69 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005123, allocations: 1.5 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.584e-05/0.005179, allocations: 37.69 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.005194, allocations: 4 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.005198, allocations: 0.5 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.005212, allocations: 3.938 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.005284, allocations: 5.031 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.005289, allocations: 0 / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.005304, allocations: 5 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.005309, allocations: 0 / 0.5236 GB, free: 14.98 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 6.131e-05/0.00537, allocations: 160.6 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-06/0.005379, allocations: 8.578 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.005401, allocations: 7.25 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005403, allocations: 0 / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.005407, allocations: 6.469 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005411, allocations: 3.938 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.702e-05/0.005478, allocations: 112.6 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005479, allocations: 0 / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.005497, allocations: 0 / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.005498, allocations: 0 / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005505, allocations: 2.438 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005506, allocations: 4 kB / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.005507, allocations: 0 / 0.5239 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.536e-05/0.005583, allocations: 80.31 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.005589, allocations: 0 / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.005599, allocations: 0 / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-06/0.005608, allocations: 5.719 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.005637, allocations: 4.25 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.00564, allocations: 0 / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.005677, allocations: 135.2 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005677, allocations: 0 / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001126/0.00579, allocations: 4.969 kB / 0.5241 GB, free: 14.4 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.0001268/0.005916, allocations: 96.19 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.004e-05/0.005996, allocations: 11.69 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005998, allocations: 3.25 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.006011, allocations: 11.67 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.006125, allocations: 7.938 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.006565, allocations: 122.3 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.006596, allocations: 51.36 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.733e-05/0.006613, allocations: 7.031 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.006636, allocations: 8.5 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.006637, allocations: 0 / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.001833/0.00847, allocations: 299.6 kB / 0.5247 GB, free: 13.75 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.779883679933846]