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.001003/0.001003, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001047/0.001047, allocations: 177 kB / 23.36 MB, free: 1.129 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8802/0.8802, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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 2.886e-06/2.886e-06, allocations: 0 / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.832e-05, allocations: 3.688 kB / 480.1 MB, free: 6.812 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002944/0.002972, allocations: 0.7854 MB / 480.8 MB, free: 6.066 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.004641, allocations: 1.128 MB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.004703, allocations: 0 / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.004743, allocations: 8.688 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.004845, allocations: 12.38 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.005213, allocations: 60.47 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.00537, allocations: 73.23 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005482, allocations: 12.17 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.005623, allocations: 48.47 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.005689, allocations: 24.67 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.005713, allocations: 8.625 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.005796, allocations: 15.98 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.005821, allocations: 14.98 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.005857, allocations: 23.91 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.006014, allocations: 67.73 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.006017, allocations: 0 / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.006018, allocations: 0 / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006023, allocations: 0 / 482.3 MB, free: 4.59 MB / 442.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.0005859/0.006609, allocations: 272.5 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.006649, allocations: 8.781 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.00669, allocations: 8.922 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.0068, allocations: 126.2 kB / 482.7 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.006812, allocations: 384 / 482.7 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.006828, allocations: 8.375 kB / 482.7 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.006966, allocations: 76.02 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006977, allocations: 4.188 kB / 482.8 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.006987, allocations: 4.375 kB / 482.8 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006994, allocations: 4.688 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.86e-05/0.007022, allocations: 8.594 kB / 482.8 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.007448, allocations: 188.8 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.007545, allocations: 35.09 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.007565, allocations: 9.484 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.007586, allocations: 4.625 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/0.007678, allocations: 59.31 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.00768, allocations: 0.75 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001603/0.007841, allocations: 66.33 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.007885, allocations: 55.41 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.007976, allocations: 119.8 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.007995, allocations: 29.7 kB / 483.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.008042, allocations: 96.02 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.008067, allocations: 16.67 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.008118, allocations: 29.69 kB / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.008221, allocations: 323.7 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.008245, allocations: 4 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.008299, allocations: 58.94 kB / 483.9 MB, free: 2.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.72e-05/0.008396, allocations: 67.86 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.008398, allocations: 0.5 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001489/0.008547, allocations: 86.84 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.008565, allocations: 9 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.008572, allocations: 4 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.008587, allocations: 0 / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.008704, allocations: 20.64 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008709, allocations: 0.9062 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.008772, allocations: 7.984 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.008785, allocations: 12.53 kB / 484.1 MB, free: 2.625 MB / 442.7 MB 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 8.726e-05/0.008872, allocations: 118.6 kB / 484.2 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.008891, allocations: 11.94 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.00892, allocations: 13.17 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.008925, allocations: 2.391 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008927, allocations: 2 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.00893, allocations: 0 / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.009195, allocations: 219 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.009199, allocations: 3.938 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.009239, allocations: 7.984 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.009244, allocations: 0.7812 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.00925, allocations: 0 / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.009254, allocations: 4 kB / 484.5 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009255, allocations: 0.6562 kB / 484.5 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.009392, allocations: 161 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.009405, allocations: 11.89 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.009419, allocations: 4 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.009489, allocations: 0 / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.009523, allocations: 12.73 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.00953, allocations: 0 / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.695e-05/0.009556, allocations: 17.34 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009557, allocations: 0 / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.009816, allocations: 16.59 kB / 484.7 MB, free: 1.988 MB / 442.7 MB 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.0001634/0.009979, allocations: 93.47 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.0101, allocations: 41.7 kB / 484.8 MB, free: 1.848 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.01011, allocations: 5.406 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.01015, allocations: 20.78 kB / 484.9 MB, free: 1.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.0104, allocations: 20.39 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.01076, allocations: 151.7 kB / 485 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01081, allocations: 65.25 kB / 485.1 MB, free: 1.547 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.01084, allocations: 4 kB / 485.1 MB, free: 1.543 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.463e-05/0.01093, allocations: 63.36 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01093, allocations: 3.938 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of Templates: time 0.004024/0.01495, allocations: 1.051 MB / 486.2 MB, free: 0.5352 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.706479124724865]