Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001315/0.001315, allocations: 81.17 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.004224/0.004224, allocations: 169 kB / 23.27 MB, free: 1.223 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.9338/0.9338, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7302/0.7302, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5208 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.253e-05, allocations: 4.172 kB / 0.5208 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001551/0.001573, allocations: 0.7221 MB / 0.5215 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002767, allocations: 1.126 MB / 0.5226 GB, free: 16 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.002814, allocations: 4.562 kB / 0.5226 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002841, allocations: 3.938 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.002926, allocations: 13.25 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.003196, allocations: 63.67 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.003291, allocations: 68.28 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.003376, allocations: 17.12 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.183e-05/0.003468, allocations: 47.89 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.003518, allocations: 19.97 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.003534, allocations: 9.219 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.003592, allocations: 27.91 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.003611, allocations: 4 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.003637, allocations: 20.42 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003751, allocations: 67.72 kB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003753, allocations: 1.781 kB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003753, allocations: 0 / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.003756, allocations: 4 kB / 0.5229 GB, free: 15.65 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.0003738/0.00413, allocations: 400.4 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004167, allocations: 9.75 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.004199, allocations: 8.891 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.004274, allocations: 120.5 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.004285, allocations: 4.375 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.004298, allocations: 13.86 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004402, allocations: 66.88 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.00441, allocations: 192 / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-06/0.00442, allocations: 4.375 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.004426, allocations: 4.875 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.004448, allocations: 8 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.004798, allocations: 281.7 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.186e-05/0.004869, allocations: 47.03 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.004888, allocations: 17.02 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.004908, allocations: 8 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/0.004981, allocations: 69.14 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004982, allocations: 0.875 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001514/0.005133, allocations: 81.61 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.005161, allocations: 58.44 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.005241, allocations: 176.5 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005253, allocations: 33.64 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.005304, allocations: 142.8 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.005322, allocations: 19.89 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.005371, allocations: 35.34 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.005519, allocations: 0.4923 MB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.005539, allocations: 7.938 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.005587, allocations: 70.36 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.005669, allocations: 93.09 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005671, allocations: 0 / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001305/0.005802, allocations: 102.3 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.005813, allocations: 6.906 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.005818, allocations: 4 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.00583, allocations: 0 / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.005913, allocations: 19.98 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005917, allocations: 4.25 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.005962, allocations: 8 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.00597, allocations: 0 / 0.5253 GB, free: 13.03 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.054e-05/0.006041, allocations: 177.4 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.006054, allocations: 11.89 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.006078, allocations: 8.438 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00608, allocations: 0 / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006081, allocations: 0 / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.006086, allocations: 4 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.006318, allocations: 321.9 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.00632, allocations: 0.625 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.006345, allocations: 5.219 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006348, allocations: 4 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006353, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006354, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006355, allocations: 4.594 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.006472, allocations: 229.5 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.006481, allocations: 7.953 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.00649, allocations: 0 / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.006538, allocations: 0 / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.006566, allocations: 11.98 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.006572, allocations: 6.438 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.006612, allocations: 131.2 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006612, allocations: 0 / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002304/0.006843, allocations: 20 kB / 0.5262 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.0001057/0.006948, allocations: 104.7 kB / 0.5263 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/0.007041, allocations: 50.06 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007042, allocations: 0 / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.007075, allocations: 27.67 kB / 0.5263 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.0002349/0.00731, allocations: 16.92 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.007563, allocations: 163.6 kB / 0.5265 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.007606, allocations: 55.36 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.007635, allocations: 14.64 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.007693, allocations: 74.2 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.007693, allocations: 0 / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.002889/0.01058, allocations: 1.12 MB / 0.5277 GB, free: 10.47 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.400841348338872]