Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0008979/0.0008979, 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.0009958/0.0009958, 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7859/0.7859, allocations: 154.9 MB / 415.1 MB, free: 236 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.146e-05, allocations: 7.625 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001401/0.001423, allocations: 0.7359 MB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.005796, allocations: 1.129 MB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.005843, allocations: 4 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.005871, allocations: 8.844 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.005953, allocations: 16.62 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.006219, allocations: 52.61 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.006333, allocations: 68.55 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.006424, allocations: 24.12 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.006512, allocations: 42.2 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.006564, allocations: 28.77 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.00658, allocations: 8 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.295e-05/0.006633, allocations: 19.98 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.006656, allocations: 16.47 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.006681, allocations: 16.62 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.006794, allocations: 55.8 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.006796, allocations: 1.125 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006796, allocations: 0 / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.0068, allocations: 0 / 482.6 MB, free: 4.367 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003361/0.007136, allocations: 280.3 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.007166, allocations: 8.688 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.007195, allocations: 8.922 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.007279, allocations: 126.5 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.00729, allocations: 8.375 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.007308, allocations: 4.375 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.007409, allocations: 63.53 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.007417, allocations: 2.125 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.007426, allocations: 8.312 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007432, allocations: 4.125 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.007456, allocations: 19.86 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.007894, allocations: 182.8 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.007968, allocations: 34.61 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.007985, allocations: 13.44 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.008, allocations: 1.344 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.718e-05/0.008077, allocations: 67.44 kB / 483.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008078, allocations: 0 / 483.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001172/0.008196, allocations: 53.69 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.008234, allocations: 59.95 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.01132, allocations: 129.4 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.01134, allocations: 25.7 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.01138, allocations: 100 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.01139, allocations: 11.91 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.01144, allocations: 33.69 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.01151, allocations: 314.8 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.01153, allocations: 11.98 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.01157, allocations: 49.98 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.895e-05/0.01165, allocations: 81.5 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01165, allocations: 0 / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001069/0.01176, allocations: 74.78 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01177, allocations: 12.56 kB / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01178, allocations: 0 / 484.3 MB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01179, allocations: 4.625 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.01188, allocations: 28.48 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01188, allocations: 4 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.01193, allocations: 4.625 kB / 484.4 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.01194, allocations: 4 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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.316e-05/0.012, allocations: 119.2 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.01201, allocations: 13.05 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.01203, allocations: 10.22 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01204, allocations: 7.938 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01204, allocations: 0 / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01204, allocations: 0 / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.01224, allocations: 215.1 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01224, allocations: 4.75 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.01227, allocations: 7.938 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01227, allocations: 5 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.01228, allocations: 3.984 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01228, allocations: 0 / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01228, allocations: 0.625 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.606e-05/0.01237, allocations: 147.6 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.01238, allocations: 14.05 kB / 484.9 MB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.01239, allocations: 3.984 kB / 484.9 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.01244, allocations: 8 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.01247, allocations: 4.578 kB / 484.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.01247, allocations: 4.719 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.771e-05/0.01249, allocations: 16.84 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01249, allocations: 1.094 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.0127, allocations: 16 kB / 485 MB, free: 1.762 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001076/0.01281, allocations: 90.2 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.0129, allocations: 48.75 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.0129, allocations: 0.5625 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.01293, allocations: 17.42 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.0131, allocations: 24.86 kB / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.01337, allocations: 157.7 kB / 485.3 MB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.0134, allocations: 59.86 kB / 485.4 MB, free: 1.312 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.01343, allocations: 12.73 kB / 485.4 MB, free: 1.301 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.01348, allocations: 59.38 kB / 485.4 MB, free: 1.242 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01348, allocations: 0.75 kB / 485.4 MB, free: 1.242 MB / 442.7 MB Notification: Performance of Templates: time 0.008852/0.02234, allocations: 1.057 MB / 486.5 MB, free: 308 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5808522296138108]