Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0008375/0.0008375, allocations: 80.88 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.001133/0.001133, allocations: 181 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.9944/0.9944, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8875/0.8875, allocations: 154.9 MB / 415.1 MB, free: 200 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 3.984 kB / 480.5 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.12e-05, allocations: 4.422 kB / 480.5 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001603/0.001624, allocations: 0.7039 MB / 481.2 MB, free: 5.781 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.005547, allocations: 0.8662 MB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.005582, allocations: 0 / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.005606, allocations: 1.219 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.594e-05/0.005672, allocations: 9.125 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.005809, allocations: 12.64 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.00587, allocations: 25.25 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.005938, allocations: 4 kB / 482.1 MB, free: 4.863 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.00601, allocations: 17.88 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.00604, allocations: 9.188 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.006051, allocations: 0 / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.157e-05/0.006103, allocations: 12.58 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.006117, allocations: 6.016 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.294e-05/0.00613, allocations: 0.5469 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.169e-05/0.006212, allocations: 26.17 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.006216, allocations: 3.984 kB / 482.2 MB, free: 4.797 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006217, allocations: 4.594 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.00622, allocations: 0.5625 kB / 482.2 MB, free: 4.793 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002514/0.006471, allocations: 230.7 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.006503, allocations: 12.03 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.006585, allocations: 4.875 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.006665, allocations: 119.2 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.006672, allocations: 384 / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.006679, allocations: 4.906 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.006765, allocations: 49.17 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.006771, allocations: 4.188 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.006776, allocations: 384 / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006782, allocations: 1.031 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.006802, allocations: 7.938 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.006982, allocations: 159 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.551e-05/0.007018, allocations: 18.58 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.007031, allocations: 5.516 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.007042, allocations: 0.625 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.007061, allocations: 37.41 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.007062, allocations: 0 / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.000103/0.007165, allocations: 41.67 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.007191, allocations: 55.34 kB / 482.9 MB, free: 3.961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.031e-05/0.007242, allocations: 103.2 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.007252, allocations: 29.7 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.007282, allocations: 88.14 kB / 483.1 MB, free: 3.723 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.007302, allocations: 8.844 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.00733, allocations: 13.72 kB / 483.1 MB, free: 3.695 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.00741, allocations: 312.6 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.007421, allocations: 3.984 kB / 483.5 MB, free: 3.379 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.00743, allocations: 4 kB / 483.5 MB, free: 3.375 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.007453, allocations: 10.48 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007455, allocations: 0 / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.813e-05/0.007503, allocations: 41.62 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.007513, allocations: 4.625 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007516, allocations: 1.172 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007529, allocations: 0 / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.007583, allocations: 8.562 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.007585, allocations: 4 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.007603, allocations: 1.281 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.007608, allocations: 5.484 kB / 483.5 MB, free: 3.297 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 (2): * Single equations (assignments): 2 * 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.464e-05/0.007663, allocations: 118.4 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.00768, allocations: 0 / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.007745, allocations: 48.77 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007748, allocations: 0.8125 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.00775, allocations: 3.938 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007753, allocations: 2.812 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.007857, allocations: 73.88 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007857, allocations: 1.094 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.00788, allocations: 4 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.007881, allocations: 0 / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.007885, allocations: 4.812 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.007886, allocations: 0 / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007887, allocations: 1 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.538e-05/0.007962, allocations: 135.5 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-06/0.007969, allocations: 8.578 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.007977, allocations: 4 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.008023, allocations: 5.953 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.008048, allocations: 5.094 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.008051, allocations: 4 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.221e-05/0.008063, allocations: 12.45 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008063, allocations: 4 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.008235, allocations: 0.5625 kB / 484 MB, free: 2.832 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 (2): * Single equations (assignments): 2 * 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.003089/0.01132, allocations: 86.22 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.881e-05/0.01138, allocations: 8.859 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01139, allocations: 0 / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.0114, allocations: 10.77 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01156, allocations: 4 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.01188, allocations: 123.3 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.685e-05/0.01191, allocations: 51.36 kB / 484.2 MB, free: 2.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.398e-05/0.01192, allocations: 5.375 kB / 484.2 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.01195, allocations: 47.38 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01196, allocations: 0 / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of Templates: time 0.001687/0.01364, allocations: 454 kB / 484.7 MB, free: 2.023 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630146361887455]