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.0009842/0.0009842, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001123/0.001123, allocations: 177 kB / 23.36 MB, free: 1.133 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.9525/0.9525, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.7681/0.7681, allocations: 154.6 MB / 414.8 MB, free: 0.543 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 1.383e-06/1.383e-06, allocations: 0 / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.513e-05, allocations: 5.219 kB / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001119/0.001134, allocations: 0.6125 MB / 480.7 MB, free: 6.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.001944, allocations: 0.8699 MB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.001968, allocations: 0 / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.001987, allocations: 1.062 kB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.002026, allocations: 3.062 kB / 481.5 MB, free: 5.441 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.002145, allocations: 16.5 kB / 481.5 MB, free: 5.426 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.002195, allocations: 20.69 kB / 481.6 MB, free: 5.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.605e-05/0.002221, allocations: 2.562 kB / 481.6 MB, free: 5.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.00233, allocations: 21.61 kB / 481.6 MB, free: 5.391 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.002366, allocations: 8.641 kB / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.002374, allocations: 0 / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.002406, allocations: 8 kB / 481.6 MB, free: 5.375 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.002413, allocations: 0.875 kB / 481.6 MB, free: 5.375 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.07e-05/0.002424, allocations: 6.391 kB / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.231e-05/0.002486, allocations: 12.97 kB / 481.6 MB, free: 5.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.002487, allocations: 0 / 481.6 MB, free: 5.359 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002488, allocations: 0 / 481.6 MB, free: 5.359 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.002491, allocations: 4.5 kB / 481.6 MB, free: 5.355 MB / 442.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.0002237/0.002714, allocations: 237.7 kB / 481.9 MB, free: 5.102 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.00274, allocations: 8.578 kB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.002825, allocations: 12.92 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.183e-05/0.002897, allocations: 109.8 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.002906, allocations: 1.25 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.002914, allocations: 384 / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.663e-05/0.00298, allocations: 48.41 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.002986, allocations: 192 / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-06/0.002991, allocations: 1.125 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.002996, allocations: 384 / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.159e-05/0.003007, allocations: 8.562 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.426e-05/0.003071, allocations: 53.81 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.27e-05/0.003104, allocations: 23.86 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.003115, allocations: 4.859 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.003126, allocations: 3.984 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.003147, allocations: 43.16 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.003149, allocations: 1.094 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 7.831e-05/0.003227, allocations: 33.64 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.003254, allocations: 53.45 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.72e-05/0.003301, allocations: 106.7 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.00331, allocations: 29.7 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.003331, allocations: 81.2 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.003347, allocations: 0 / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.003368, allocations: 17.7 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.003444, allocations: 320.2 kB / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-06/0.00345, allocations: 0 / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.003455, allocations: 0 / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.81e-05/0.003473, allocations: 10.41 kB / 482.8 MB, free: 4.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.003474, allocations: 0 / 482.8 MB, free: 4.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.963e-05/0.003514, allocations: 39.08 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.003524, allocations: 7.984 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.003527, allocations: 0 / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.003537, allocations: 0.8438 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.003582, allocations: 4 kB / 482.9 MB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.003584, allocations: 1.547 kB / 482.9 MB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.003597, allocations: 0 / 482.9 MB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.003602, allocations: 0.875 kB / 482.9 MB, free: 3.98 MB / 442.7 MB 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.632e-05/0.003658, allocations: 117.8 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.003664, allocations: 1.062 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.673e-05/0.003681, allocations: 7.859 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.003682, allocations: 0 / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.003684, allocations: 1.172 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.003688, allocations: 4 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.129e-05/0.003739, allocations: 71.05 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.00374, allocations: 0.625 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.00375, allocations: 7.984 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.00375, allocations: 1.172 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.003755, allocations: 2.734 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.003756, allocations: 0 / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.003758, allocations: 4.625 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.639e-05/0.003804, allocations: 61.72 kB / 483.1 MB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.003811, allocations: 9.297 kB / 483.1 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-06/0.003818, allocations: 0.7812 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.003826, allocations: 0.6875 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.003845, allocations: 8 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.003847, allocations: 1.25 kB / 483.2 MB, free: 3.656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.137e-06/0.003856, allocations: 12.84 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003856, allocations: 0 / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of remove unused functions: time 8.832e-05/0.003944, allocations: 4 kB / 483.2 MB, free: 3.637 MB / 442.7 MB 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 6.505e-05/0.004009, allocations: 73.95 kB / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.952e-05/0.004049, allocations: 10.67 kB / 483.3 MB, free: 3.543 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.004051, allocations: 4 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.208e-06/0.00406, allocations: 8.797 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.554e-05/0.004106, allocations: 4.703 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.004405, allocations: 124.9 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.545e-05/0.00443, allocations: 51.36 kB / 483.4 MB, free: 3.309 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.277e-05/0.004443, allocations: 4 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.004471, allocations: 53.05 kB / 483.5 MB, free: 3.254 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004472, allocations: 0 / 483.5 MB, free: 3.254 MB / 442.7 MB Notification: Performance of Templates: time 0.001537/0.006008, allocations: 292.8 kB / 483.8 MB, free: 2.98 MB / 442.7 MB " [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.5802050926722586]