Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.00118/0.00118, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.000985/0.000985, allocations: 177.4 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.9311/0.9311, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7742/0.7742, allocations: 154.9 MB / 415.1 MB, free: 232 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 480.3 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.302e-05, allocations: 2.312 kB / 480.3 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.005651/0.005674, allocations: 0.7464 MB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.007008, allocations: 1.231 MB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.007054, allocations: 5.094 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.007081, allocations: 3.938 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.007157, allocations: 16.05 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.007582, allocations: 133.7 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.007753, allocations: 132.9 kB / 482.6 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.00783, allocations: 12.81 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.007946, allocations: 77.36 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.008023, allocations: 31.89 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.008045, allocations: 12 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.008109, allocations: 31.97 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.008132, allocations: 19.86 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.008177, allocations: 39.95 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.01136, allocations: 100.7 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01136, allocations: 0 / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01137, allocations: 0.7188 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.01137, allocations: 0 / 482.9 MB, free: 4.02 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004241/0.01179, allocations: 318.1 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.01183, allocations: 9.281 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.01193, allocations: 16.92 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.01201, allocations: 125.5 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.01202, allocations: 8.375 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.01205, allocations: 8.906 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.01216, allocations: 77.52 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.01217, allocations: 192 / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.01217, allocations: 384 / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.01218, allocations: 4.125 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.865e-05/0.01221, allocations: 15.92 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.01253, allocations: 192.2 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.24e-05/0.0126, allocations: 31.27 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.01262, allocations: 16.84 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.01264, allocations: 5.031 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.525e-05/0.01273, allocations: 71.3 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.01273, allocations: 0.875 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001478/0.01288, allocations: 69.61 kB / 483.9 MB, free: 2.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.01292, allocations: 56.19 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.013, allocations: 126.7 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.01302, allocations: 26.39 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.01306, allocations: 96.08 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.01308, allocations: 20.36 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.01315, allocations: 38.34 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.01324, allocations: 318.8 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.0133, allocations: 54.31 kB / 484.6 MB, free: 2.203 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.01338, allocations: 94 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.01348, allocations: 117.3 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01349, allocations: 7.938 kB / 484.8 MB, free: 1.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001856/0.01367, allocations: 174.6 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.0137, allocations: 37.69 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01371, allocations: 0 / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01372, allocations: 1 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.01379, allocations: 19.98 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01379, allocations: 4.75 kB / 485 MB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.01387, allocations: 24.91 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.01388, allocations: 7.984 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.485e-05/0.01395, allocations: 126.6 kB / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.01396, allocations: 12.73 kB / 485.2 MB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.01403, allocations: 62.42 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01404, allocations: 0 / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01404, allocations: 0.75 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01404, allocations: 0 / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01418, allocations: 227.9 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01418, allocations: 0 / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.01421, allocations: 7.938 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01421, allocations: 0.75 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.01422, allocations: 4 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01422, allocations: 0.6875 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01422, allocations: 1.312 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.327e-05/0.01429, allocations: 155.5 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.0143, allocations: 19.86 kB / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.01431, allocations: 0 / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.01434, allocations: 5.031 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.01436, allocations: 7.984 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.01437, allocations: 0 / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.603e-05/0.01438, allocations: 21.72 kB / 485.7 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01438, allocations: 0 / 485.7 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000141/0.01453, allocations: 20.97 kB / 485.7 MB, free: 0.9492 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.971e-05/0.01461, allocations: 88.94 kB / 485.8 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.01475, allocations: 150.5 kB / 486 MB, free: 0.6875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01476, allocations: 4.5 kB / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.01478, allocations: 25.28 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.01491, allocations: 20.92 kB / 486 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.01527, allocations: 171.5 kB / 486.2 MB, free: 452 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.0153, allocations: 63.34 kB / 486.2 MB, free: 368 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.01532, allocations: 7.719 kB / 486.2 MB, free: 364 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.01539, allocations: 76.34 kB / 486.3 MB, free: 288 kB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0154, allocations: 0 / 486.3 MB, free: 288 kB / 442.7 MB Notification: Performance of Templates: time 0.003269/0.01866, allocations: 1.611 MB / 487.9 MB, free: 14.79 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.605975644197315]