Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001491/0.001491, 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.001619/0.001619, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7534/0.7534, allocations: 154.6 MB / 414.9 MB, free: 0.6602 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.457e-05, allocations: 12.03 kB / 0.5204 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001112/0.001127, allocations: 0.7274 MB / 0.5211 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.002123, allocations: 1.125 MB / 0.5222 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.002166, allocations: 0 / 0.5222 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.002192, allocations: 8.5 kB / 0.5222 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.002254, allocations: 4.938 kB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.002514, allocations: 63.69 kB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.002611, allocations: 72.58 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.002701, allocations: 16.16 kB / 0.5223 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.002779, allocations: 47.89 kB / 0.5224 GB, free: 472 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.002821, allocations: 25.66 kB / 0.5224 GB, free: 448 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.002837, allocations: 8 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.002883, allocations: 12 kB / 0.5224 GB, free: 428 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.002903, allocations: 15.97 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.002936, allocations: 25.58 kB / 0.5225 GB, free: 388 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003061, allocations: 63.78 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003063, allocations: 4 kB / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003063, allocations: 0 / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.003068, allocations: 0 / 0.5225 GB, free: 320 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.0004178/0.003485, allocations: 401.1 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.003526, allocations: 9.344 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.003571, allocations: 8.891 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/0.003666, allocations: 124.5 kB / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003678, allocations: 384 / 0.523 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.003692, allocations: 9.625 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.003822, allocations: 66.94 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.003828, allocations: 192 / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.003837, allocations: 2.562 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.003845, allocations: 4.125 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.003877, allocations: 11.98 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.004277, allocations: 303.6 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.004368, allocations: 44.86 kB / 0.5235 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.004394, allocations: 15.81 kB / 0.5235 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.004414, allocations: 7.938 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/0.004486, allocations: 69.08 kB / 0.5236 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004487, allocations: 4.5 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001704/0.004657, allocations: 85.61 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.004692, allocations: 52.31 kB / 0.5237 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.004772, allocations: 181.9 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.004783, allocations: 26.7 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.004833, allocations: 150.7 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.004847, allocations: 7.906 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.004884, allocations: 40.23 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003487/0.005232, allocations: 0.4884 MB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.005258, allocations: 9.031 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.005306, allocations: 73.8 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.005388, allocations: 96.36 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00539, allocations: 0 / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000113/0.005503, allocations: 107.3 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.005514, allocations: 4 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.00552, allocations: 5.031 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.005532, allocations: 0 / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.005614, allocations: 24.48 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.00562, allocations: 0 / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.005652, allocations: 10.95 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.005661, allocations: 8 kB / 0.5249 GB, free: 13.65 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 6.445e-05/0.005726, allocations: 170.4 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.005738, allocations: 11.89 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.005761, allocations: 8.438 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005762, allocations: 0 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005765, allocations: 0 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.00577, allocations: 14.95 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.005978, allocations: 333.6 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005979, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.006003, allocations: 11.98 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006005, allocations: 3.984 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.006013, allocations: 4 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006014, allocations: 0 / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006015, allocations: 0 / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.006128, allocations: 233.3 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.006136, allocations: 7.953 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.006148, allocations: 0 / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.006183, allocations: 8 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.006219, allocations: 4.484 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.006225, allocations: 7.062 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.006276, allocations: 136.3 kB / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006276, allocations: 0 / 0.5258 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001568/0.006433, allocations: 12 kB / 0.5258 GB, free: 12.64 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.0001041/0.006537, allocations: 113.5 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.006642, allocations: 49.98 kB / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.006644, allocations: 0 / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.006676, allocations: 23.67 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.006857, allocations: 20.81 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.00712, allocations: 164 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.007152, allocations: 63.34 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.007174, allocations: 8.891 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.007197, allocations: 16.44 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of SimCode: time 4.86e-06/0.007202, allocations: 1.156 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.00248/0.009682, allocations: 1.02 MB / 0.5272 GB, free: 11.2 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.694658807013184]