Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001405/0.001405, allocations: 80.75 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.001945/0.001945, 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 1.025/1.025, 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.8007/0.8007, allocations: 154.9 MB / 415.1 MB, free: 240 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 480.3 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.799e-05, allocations: 4.844 kB / 480.3 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002304/0.002332, allocations: 0.6541 MB / 481 MB, free: 5.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.003949, allocations: 1.125 MB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.004001, allocations: 2.016 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.004034, allocations: 3.938 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.004115, allocations: 10.72 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.004446, allocations: 48.97 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.004561, allocations: 40.08 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.004649, allocations: 16.47 kB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004761, allocations: 28.19 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.004817, allocations: 16.84 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004835, allocations: 4 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.004911, allocations: 20.53 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.004938, allocations: 14.69 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.004967, allocations: 14.19 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.005374, allocations: 54.11 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005377, allocations: 2.031 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005378, allocations: 0 / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.636e-06/0.005382, allocations: 0 / 482.4 MB, free: 4.566 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004605/0.005842, allocations: 265.3 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.005883, allocations: 12.03 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.005991, allocations: 7.75 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.006087, allocations: 117.7 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.006103, allocations: 9.25 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.006117, allocations: 4.375 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.006246, allocations: 58.94 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.006254, allocations: 192 / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.006263, allocations: 4.375 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006269, allocations: 5.219 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.0063, allocations: 11.94 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.006611, allocations: 163.8 kB / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.006692, allocations: 30.56 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.006713, allocations: 12.86 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.006728, allocations: 4.625 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.303e-05/0.006811, allocations: 59.45 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.006813, allocations: 0.625 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001317/0.006945, allocations: 54.25 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.006987, allocations: 51.41 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.142e-05/0.007058, allocations: 111.4 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.007074, allocations: 29.7 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.007109, allocations: 92.69 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.007131, allocations: 16.42 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.007173, allocations: 25.7 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.007262, allocations: 315.6 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.00728, allocations: 4 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.007315, allocations: 31.95 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.007382, allocations: 52.91 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007384, allocations: 0 / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001075/0.007491, allocations: 58.53 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.007506, allocations: 8.609 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.007511, allocations: 0 / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.00753, allocations: 9.406 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.007616, allocations: 13.12 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.00762, allocations: 0 / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.007663, allocations: 11.94 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.007674, allocations: 9.125 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.179e-05/0.007746, allocations: 105.8 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.007759, allocations: 4 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.007868, allocations: 67.17 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.007872, allocations: 3.938 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007874, allocations: 0 / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.007879, allocations: 2.438 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.00809, allocations: 199.4 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.008093, allocations: 4.062 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.008136, allocations: 9.234 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.008139, allocations: 0 / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.008147, allocations: 7.938 kB / 484.4 MB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.00815, allocations: 4.906 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008151, allocations: 0 / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.008255, allocations: 149 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.008265, allocations: 7.953 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.00828, allocations: 3.938 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.008348, allocations: 4 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.008384, allocations: 12.7 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.008395, allocations: 0 / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.573e-05/0.00841, allocations: 9.641 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00841, allocations: 0 / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.008662, allocations: 16.86 kB / 484.6 MB, free: 2.129 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000129/0.008791, allocations: 89.36 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.008881, allocations: 25.44 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.008885, allocations: 0 / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.008925, allocations: 30.2 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.009125, allocations: 8.156 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.009583, allocations: 134.1 kB / 484.9 MB, free: 1.812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.009633, allocations: 60.66 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.058e-05/0.009663, allocations: 4.938 kB / 485 MB, free: 1.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.009721, allocations: 56.22 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.009722, allocations: 0 / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of Templates: time 0.003194/0.01292, allocations: 0.8604 MB / 485.9 MB, free: 0.875 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7764259157702327]