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.001016/0.001016, 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.001195/0.001195, 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 1.051/1.051, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.8287/0.8287, allocations: 154.6 MB / 414.8 MB, free: 484 kB / 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.535e-06/2.535e-06, allocations: 0 / 480.1 MB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.881e-05, allocations: 2.312 kB / 480.1 MB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001949/0.001978, allocations: 0.659 MB / 480.7 MB, free: 6.203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003052, allocations: 0.8587 MB / 481.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.003085, allocations: 4.547 kB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.003112, allocations: 1.875 kB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.158e-05/0.003174, allocations: 5.797 kB / 481.6 MB, free: 5.328 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.003335, allocations: 12.47 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.003404, allocations: 16.81 kB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.00345, allocations: 14.16 kB / 481.7 MB, free: 5.293 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.003611, allocations: 16.97 kB / 481.7 MB, free: 5.277 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.00366, allocations: 4.906 kB / 481.7 MB, free: 5.273 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.003674, allocations: 5.031 kB / 481.7 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.653e-05/0.00373, allocations: 4 kB / 481.7 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.003743, allocations: 5 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.003759, allocations: 4.969 kB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.465e-05/0.003853, allocations: 17.38 kB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.003858, allocations: 3.984 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003859, allocations: 2.078 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.003863, allocations: 0 / 481.7 MB, free: 5.238 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.0003092/0.004172, allocations: 228.1 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.004209, allocations: 8.688 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.004337, allocations: 8.938 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.004442, allocations: 118.9 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004454, allocations: 0.9219 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-06/0.00446, allocations: 4.375 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.004558, allocations: 44.03 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.004566, allocations: 192 / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.004574, allocations: 5.281 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004582, allocations: 0.9219 kB / 482.1 MB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.004601, allocations: 12.58 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.004703, allocations: 57.05 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.004743, allocations: 15.17 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.004759, allocations: 10.39 kB / 482.2 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.004771, allocations: 0.5469 kB / 482.2 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.004794, allocations: 30.56 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.004795, allocations: 0 / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.004922, allocations: 38.41 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.004956, allocations: 56.84 kB / 482.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.005018, allocations: 99.92 kB / 482.4 MB, free: 4.402 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.005029, allocations: 25.7 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.005062, allocations: 96.11 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.005084, allocations: 0.8438 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.005112, allocations: 9.719 kB / 482.6 MB, free: 4.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.005211, allocations: 318.8 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.005221, allocations: 0.7812 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.005229, allocations: 0.7188 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.005262, allocations: 13.5 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005263, allocations: 0 / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.568e-05/0.005319, allocations: 34.8 kB / 482.9 MB, free: 3.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.005332, allocations: 4.766 kB / 482.9 MB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.005338, allocations: 4 kB / 482.9 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.005352, allocations: 0.9375 kB / 482.9 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.005409, allocations: 0 / 482.9 MB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.005413, allocations: 4.609 kB / 482.9 MB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.005433, allocations: 4 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.005438, allocations: 0.625 kB / 483 MB, free: 3.867 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 6.342e-05/0.005502, allocations: 111.8 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.00551, allocations: 4.625 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.00553, allocations: 7.875 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.005533, allocations: 3.203 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005534, allocations: 0 / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005536, allocations: 0.625 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.433e-05/0.005611, allocations: 83.33 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.005612, allocations: 0 / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.005638, allocations: 4.25 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.005641, allocations: 1.562 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.005646, allocations: 4 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005648, allocations: 3.938 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.005649, allocations: 0 / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.005759, allocations: 63.77 kB / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.005767, allocations: 0 / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.005775, allocations: 0 / 483.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.005801, allocations: 7.984 kB / 483.2 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.005824, allocations: 0 / 483.2 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.005827, allocations: 0.5625 kB / 483.2 MB, free: 3.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.296e-05/0.00584, allocations: 10.64 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00584, allocations: 0.9844 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.386e-05/0.005934, allocations: 4 kB / 483.3 MB, free: 3.531 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 8.446e-05/0.006018, allocations: 78.16 kB / 483.3 MB, free: 3.445 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.057e-05/0.006069, allocations: 16.8 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.006071, allocations: 0 / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.006082, allocations: 8.859 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.088e-05/0.006143, allocations: 5.469 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.006464, allocations: 119.3 kB / 483.5 MB, free: 3.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.331e-05/0.006487, allocations: 56 kB / 483.5 MB, free: 3.195 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.503e-05/0.006502, allocations: 2 kB / 483.5 MB, free: 3.195 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.006535, allocations: 51.38 kB / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006535, allocations: 0 / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of Templates: time 0.001667/0.008202, allocations: 305.5 kB / 483.9 MB, free: 2.863 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.714946823194623]