Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001074/0.001074, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009734/0.0009734, allocations: 165 kB / 23.02 MB, free: 1.551 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.9659/0.9659, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7897/0.7897, allocations: 154.8 MB / 414.7 MB, free: 492 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.51e-05, allocations: 4 kB / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002129/0.002164, allocations: 0.7426 MB / 0.5213 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003691, allocations: 1.127 MB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.003743, allocations: 0.5625 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.003779, allocations: 4.5 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.003869, allocations: 12.8 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.004239, allocations: 59.7 kB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004385, allocations: 73.39 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.00451, allocations: 12.17 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.004619, allocations: 47.89 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.004682, allocations: 19.97 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.004705, allocations: 8.969 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.004777, allocations: 19.92 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.004804, allocations: 11.98 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.004847, allocations: 21.98 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004998, allocations: 67.72 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005, allocations: 4 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005001, allocations: 0 / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.005006, allocations: 0 / 0.5227 GB, free: 15.72 MB / 0.4948 GB 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.0005107/0.005516, allocations: 397.2 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.00556, allocations: 8.031 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.005616, allocations: 13.7 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.005726, allocations: 120.5 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.005739, allocations: 1.344 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005763, allocations: 12.36 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.00593, allocations: 72.31 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.005942, allocations: 192 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.005954, allocations: 384 / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.005966, allocations: 4.125 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.006008, allocations: 8.781 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.006524, allocations: 308.4 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.006631, allocations: 42.12 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.006667, allocations: 19.67 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.006699, allocations: 4.062 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.316e-05/0.006792, allocations: 69.05 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.006793, allocations: 0 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002195/0.007013, allocations: 85.66 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.007064, allocations: 51.41 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007178, allocations: 185.3 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.007195, allocations: 30.14 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.00726, allocations: 147.5 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.00728, allocations: 11.89 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.007334, allocations: 40.2 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.007501, allocations: 496.1 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.007539, allocations: 11.98 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.007608, allocations: 74.77 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.007714, allocations: 91.84 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007716, allocations: 1.031 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001678/0.007884, allocations: 106.6 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.0079, allocations: 4 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.007908, allocations: 8.625 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.007927, allocations: 5.547 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.00805, allocations: 19.98 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.008057, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.00811, allocations: 4 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.008124, allocations: 8.938 kB / 0.5251 GB, free: 13.06 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 0.0001542/0.008278, allocations: 174.6 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.008296, allocations: 15.33 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.008327, allocations: 12.42 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00833, allocations: 0 / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008333, allocations: 0 / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008337, allocations: 7.984 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.008634, allocations: 337.3 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008636, allocations: 0 / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.008674, allocations: 4 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008676, allocations: 0 / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.008687, allocations: 10.84 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008689, allocations: 0 / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00869, allocations: 3.938 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.008841, allocations: 228.2 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.008851, allocations: 11.89 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.008864, allocations: 0 / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.008931, allocations: 11.98 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.008973, allocations: 1.562 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.00898, allocations: 4 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.009032, allocations: 135.2 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.009032, allocations: 0 / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002928/0.009325, allocations: 12 kB / 0.526 GB, free: 12.05 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.0001275/0.009452, allocations: 112.5 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.009588, allocations: 50.34 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.00959, allocations: 0 / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.009635, allocations: 23.62 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.009919, allocations: 19.86 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.01027, allocations: 169 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.01031, allocations: 59.34 kB / 0.5264 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.01034, allocations: 8 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.01038, allocations: 12.5 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01038, allocations: 2.125 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.003574/0.01395, allocations: 1.027 MB / 0.5275 GB, free: 10.58 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.067239441443235]