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.002696/0.002696, allocations: 88.05 kB / 19.44 MB, free: 316 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.002902/0.002902, allocations: 169.3 kB / 22.76 MB, free: 1.641 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.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.312/1.312, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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 2.525e-06/2.525e-06, allocations: 0 / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.679e-05, allocations: 8.188 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002077/0.002114, allocations: 0.7332 MB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.003761, allocations: 1.101 MB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.003805, allocations: 0 / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.003834, allocations: 7.938 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.003912, allocations: 16.42 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.004183, allocations: 52.75 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.004315, allocations: 71.78 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.004414, allocations: 16.78 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.872e-05/0.004513, allocations: 39.91 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.004579, allocations: 33.14 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.0046, allocations: 4 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.004659, allocations: 15.94 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.004691, allocations: 16.92 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.004732, allocations: 23.91 kB / 0.522 GB, free: 184 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.004911, allocations: 87.67 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.004915, allocations: 1.531 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004916, allocations: 0 / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.00492, allocations: 0 / 0.522 GB, free: 96 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.0006293/0.005549, allocations: 405.2 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.005586, allocations: 8.031 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.005638, allocations: 8.891 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.005781, allocations: 117.2 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.005796, allocations: 8.375 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005812, allocations: 9.594 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.00599, allocations: 58.23 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006, allocations: 192 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.006014, allocations: 9.031 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.006025, allocations: 8.109 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.006142, allocations: 28.92 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.006799, allocations: 316.1 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.00696, allocations: 55.89 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.007034, allocations: 29.83 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.007061, allocations: 7.938 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.007226, allocations: 77.08 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.007227, allocations: 0 / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003667/0.007594, allocations: 114.7 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.007644, allocations: 51.41 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.007832, allocations: 189.9 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.007861, allocations: 31.11 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.007968, allocations: 142.8 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.007998, allocations: 23.83 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.00807, allocations: 40.17 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000276/0.008346, allocations: 0.4884 MB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.00843, allocations: 29.42 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.008576, allocations: 89.78 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.008802, allocations: 112.1 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.008807, allocations: 4 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000286/0.009093, allocations: 123.9 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.009112, allocations: 10.19 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009117, allocations: 2.719 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.009136, allocations: 7.984 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.009259, allocations: 19.98 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.009273, allocations: 11.92 kB / 0.5246 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.009341, allocations: 7.953 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.009355, allocations: 4 kB / 0.5246 GB, free: 13.25 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.0001316/0.009487, allocations: 163 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.00951, allocations: 15.89 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.009542, allocations: 16.36 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.009547, allocations: 4 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.00955, allocations: 0 / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009553, allocations: 0 / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.01005, allocations: 374.8 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01005, allocations: 0 / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.01009, allocations: 4 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01009, allocations: 0 / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.0101, allocations: 5.031 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01011, allocations: 0 / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01011, allocations: 0 / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.01042, allocations: 261.2 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.01043, allocations: 3.953 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01045, allocations: 7.25 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.01051, allocations: 0 / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.01057, allocations: 7.984 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01057, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003155/0.01089, allocations: 145.8 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01089, allocations: 0 / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002379/0.01112, allocations: 12 kB / 0.5256 GB, free: 12.19 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.0001895/0.01131, allocations: 110.3 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01157, allocations: 75.53 kB / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01157, allocations: 0 / 0.5257 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.01167, allocations: 35.67 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01193, allocations: 17.89 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.01233, allocations: 174.7 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.0124, allocations: 72.61 kB / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.01244, allocations: 4.656 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.01247, allocations: 16.5 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.01248, allocations: 0.625 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.004212/0.01669, allocations: 1.03 MB / 0.527 GB, free: 10.69 MB / 0.4948 GB " [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: 6.123021799954586]