Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009868/0.0009868, allocations: 89.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.001058/0.001058, allocations: 177 kB / 23.03 MB, free: 1.539 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.9418/0.9418, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7726/0.7726, allocations: 154.9 MB / 414.8 MB, free: 412 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.824e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00478/0.004798, allocations: 0.7533 MB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.005973, allocations: 1.12 MB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.006017, allocations: 1.812 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.006052, allocations: 7.922 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-05/0.006124, allocations: 15.77 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.006403, allocations: 53.42 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.006513, allocations: 75.7 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.006608, allocations: 20.17 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.061e-05/0.006688, allocations: 31.97 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.006739, allocations: 31.89 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.006756, allocations: 5.438 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.00681, allocations: 19.98 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.006833, allocations: 15.92 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.006867, allocations: 23.97 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.006993, allocations: 60.48 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006995, allocations: 0 / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.52e-07/0.006995, allocations: 1.469 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.006999, allocations: 0 / 0.5229 GB, free: 15.61 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.003425/0.01042, allocations: 396.4 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.01046, allocations: 9.375 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.01051, allocations: 12.89 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/0.0106, allocations: 124.4 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.01062, allocations: 4.375 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.01063, allocations: 7.75 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.01076, allocations: 70.88 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.01077, allocations: 192 / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.01078, allocations: 384 / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.01079, allocations: 8.125 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.01082, allocations: 11.98 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.01125, allocations: 307.6 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.01135, allocations: 43.58 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.01137, allocations: 16.38 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.01139, allocations: 8.484 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.951e-05/0.01147, allocations: 65.05 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.01147, allocations: 0.875 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000188/0.01166, allocations: 81.91 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.0117, allocations: 56.86 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.01179, allocations: 177.9 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.0118, allocations: 29.7 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.01186, allocations: 150.7 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.01188, allocations: 16.84 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.01192, allocations: 31.36 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01204, allocations: 0.4933 MB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.01207, allocations: 4 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.01213, allocations: 73.88 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.744e-05/0.01223, allocations: 101.3 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01223, allocations: 0 / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001484/0.01238, allocations: 104 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01239, allocations: 11.94 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.0124, allocations: 3.984 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01241, allocations: 4 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.01251, allocations: 15.98 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01252, allocations: 2.75 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.01256, allocations: 16 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01257, allocations: 4 kB / 0.5252 GB, free: 12.94 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.841e-05/0.01265, allocations: 172.4 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.01267, allocations: 11.89 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.01269, allocations: 8.438 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01269, allocations: 5.062 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.01269, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0127, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.01295, allocations: 338.3 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01295, allocations: 0 / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.01298, allocations: 7.984 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01298, allocations: 4.938 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.01299, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01299, allocations: 0.6562 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01299, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.01312, allocations: 225.1 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.01313, allocations: 7.953 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01314, allocations: 7.922 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.0132, allocations: 6.438 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003042/0.01624, allocations: 7.984 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.01625, allocations: 0 / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.01629, allocations: 138.1 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01629, allocations: 0 / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002496/0.01654, allocations: 16 kB / 0.5262 GB, free: 11.94 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.0001101/0.01665, allocations: 106.2 kB / 0.5263 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01678, allocations: 47.59 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01678, allocations: 7.938 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.01682, allocations: 31.59 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.01707, allocations: 13.09 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.01739, allocations: 168 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.01742, allocations: 59.34 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.01745, allocations: 7.781 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.01748, allocations: 16.48 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01748, allocations: 0 / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.006031/0.02351, allocations: 1.098 MB / 0.5277 GB, free: 10.43 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7791241658851504]