Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001104/0.001104, allocations: 177 kB / 23.49 MB, free: 1.059 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.289 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.804/0.804, allocations: 154.8 MB / 415.1 MB, free: 392 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.327e-06/3.327e-06, allocations: 0 / 0.5206 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.552e-05/3.884e-05, allocations: 5.609 kB / 0.5206 GB, free: 2.238 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001643/0.001682, allocations: 0.7384 MB / 0.5213 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.002976, allocations: 1.118 MB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.00303, allocations: 7.938 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.003061, allocations: 7.922 kB / 0.5224 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.003133, allocations: 11.86 kB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.003423, allocations: 57.45 kB / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.003534, allocations: 75.7 kB / 0.5226 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003639, allocations: 12.17 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.00373, allocations: 47.89 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.003776, allocations: 24.66 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.003794, allocations: 4 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.003848, allocations: 17.39 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.003869, allocations: 15.98 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.003904, allocations: 23.91 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.004031, allocations: 61.14 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004033, allocations: 0 / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004034, allocations: 0 / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.004039, allocations: 0 / 0.5228 GB, free: 36 kB / 490.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.0004369/0.004476, allocations: 401.9 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.004514, allocations: 8.031 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.004562, allocations: 16.81 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.004654, allocations: 119.1 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.004668, allocations: 4.375 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.00468, allocations: 8.375 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.004804, allocations: 66.94 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.004812, allocations: 192 / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004822, allocations: 384 / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.00483, allocations: 4.125 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.004861, allocations: 16.48 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.005259, allocations: 300.7 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.076e-05/0.00535, allocations: 52.62 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.005374, allocations: 11.69 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.005414, allocations: 12.06 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.312e-05/0.005497, allocations: 61.05 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.005499, allocations: 8.875 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001878/0.005687, allocations: 85.56 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.005722, allocations: 52.81 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.00581, allocations: 177.3 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.005822, allocations: 29.7 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.005875, allocations: 142.8 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.005892, allocations: 20.98 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.005929, allocations: 35.36 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.00604, allocations: 0.4923 MB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.006067, allocations: 8.688 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.006121, allocations: 69.8 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.887e-05/0.00621, allocations: 103.3 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006212, allocations: 0 / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001286/0.00634, allocations: 101.4 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.006357, allocations: 4 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006362, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006377, allocations: 10.84 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.00647, allocations: 19.92 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.006477, allocations: 4 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.006508, allocations: 4 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.00652, allocations: 11.98 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB 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 7.424e-05/0.006594, allocations: 164.5 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.006605, allocations: 15.83 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.006632, allocations: 17.92 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.006634, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006638, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006641, allocations: 3.938 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.006876, allocations: 334.2 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006878, allocations: 1.031 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.006904, allocations: 11.92 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006906, allocations: 0 / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.006913, allocations: 4.5 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.006916, allocations: 6.266 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.006919, allocations: 3.984 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.007027, allocations: 219.9 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.007036, allocations: 11.94 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.007049, allocations: 0 / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.007082, allocations: 4 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.007116, allocations: 10.42 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.007122, allocations: 4 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.007164, allocations: 135.2 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007164, allocations: 0 / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001624/0.007326, allocations: 15.94 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB 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.0001212/0.007447, allocations: 105.3 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.007558, allocations: 47.59 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007559, allocations: 0 / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.007592, allocations: 24.7 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.007793, allocations: 20.81 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.008081, allocations: 168.2 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.008118, allocations: 64.09 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.00814, allocations: 4 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.008171, allocations: 17.77 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.008172, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.002962/0.01113, allocations: 1.041 MB / 0.5275 GB, free: 10.9 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.84414644096978]