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.0008164/0.0008164, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.0008466/0.0008466, allocations: 169 kB / 23.28 MB, free: 1.219 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.8624/0.8624, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.7642/0.7642, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.303e-06/1.303e-06, allocations: 0 / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.517e-05, allocations: 4 kB / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001181/0.001196, allocations: 0.7232 MB / 0.5215 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.002174, allocations: 1.124 MB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.002217, allocations: 4.938 kB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.002242, allocations: 3.938 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.002308, allocations: 12.78 kB / 0.5226 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.002546, allocations: 55.75 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.532e-05/0.002631, allocations: 81.45 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.002711, allocations: 20.09 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.002789, allocations: 43.95 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.002832, allocations: 23.91 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.002846, allocations: 4.562 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.306e-05/0.002889, allocations: 12 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.002909, allocations: 25.16 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.00293, allocations: 15.98 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.003023, allocations: 59.8 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003025, allocations: 0.5 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003025, allocations: 0.9062 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.003028, allocations: 0 / 0.5229 GB, free: 15.68 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.0003248/0.003353, allocations: 405.1 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.003387, allocations: 12.03 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.003413, allocations: 13.33 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.889e-05/0.003482, allocations: 116.5 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.003493, allocations: 5 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.003503, allocations: 13.25 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.442e-05/0.003597, allocations: 70.86 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.003604, allocations: 192 / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-06/0.00361, allocations: 1.25 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.003616, allocations: 8.125 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.003632, allocations: 9.688 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.003919, allocations: 280.3 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.329e-05/0.003982, allocations: 47.08 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.003999, allocations: 21.41 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.004015, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.004076, allocations: 69.11 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.004077, allocations: 0.75 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001272/0.004204, allocations: 77.56 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.004233, allocations: 60.77 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.004301, allocations: 176.2 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.004313, allocations: 25.7 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.004359, allocations: 150.7 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.004373, allocations: 17.14 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.004407, allocations: 31.36 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.004518, allocations: 0.4923 MB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.004533, allocations: 6.125 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.004575, allocations: 74.09 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.004639, allocations: 95.53 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.004641, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.34e-05/0.004734, allocations: 98.94 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.004744, allocations: 4 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.004749, allocations: 8.875 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.00476, allocations: 0 / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.004828, allocations: 28.86 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.004832, allocations: 3.984 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.004861, allocations: 9.031 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.00487, allocations: 4 kB / 0.5253 GB, free: 13.04 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.356e-05/0.004933, allocations: 175.5 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.004943, allocations: 11.89 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.004965, allocations: 12.44 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004966, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.004968, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00497, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.005155, allocations: 314 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.005156, allocations: 3.984 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.005175, allocations: 10.97 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005176, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.005181, allocations: 4 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005182, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005183, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.005272, allocations: 219.9 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.005279, allocations: 7.938 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.005288, allocations: 4 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.076e-05/0.005318, allocations: 1.5 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.00534, allocations: 7.984 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.005344, allocations: 4 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.005377, allocations: 133.4 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005377, allocations: 4.438 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001547/0.005532, allocations: 12 kB / 0.5262 GB, free: 12.08 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 9.144e-05/0.005623, allocations: 114.2 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.426e-05/0.005698, allocations: 43.59 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005699, allocations: 0 / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.005723, allocations: 23.67 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.005885, allocations: 26.23 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.006094, allocations: 158.7 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.006122, allocations: 55.36 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.006148, allocations: 9.391 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.006199, allocations: 78.2 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.006199, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.002275/0.008474, allocations: 1.132 MB / 0.5278 GB, free: 10.49 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.326294826809317]