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.001459/0.001459, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0017/0.0017, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.9694/0.9694, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7604/0.7604, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.443e-06/1.443e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.446e-05, allocations: 8.297 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001179/0.001193, allocations: 0.7314 MB / 480.8 MB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.002193, allocations: 1.123 MB / 481.9 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.002233, allocations: 0.6875 kB / 481.9 MB, free: 5.078 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.002259, allocations: 8.531 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.002328, allocations: 17.41 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.002572, allocations: 55.75 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.002667, allocations: 73.66 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.002743, allocations: 16.92 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.002824, allocations: 47.36 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.002866, allocations: 27.95 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.002879, allocations: 4 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.689e-05/0.002926, allocations: 15.98 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.002945, allocations: 16.78 kB / 482.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.002969, allocations: 19.97 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.651e-05/0.003066, allocations: 60.48 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003067, allocations: 0 / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003068, allocations: 0.8125 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.00307, allocations: 0 / 482.2 MB, free: 4.742 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.0002921/0.003362, allocations: 277 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.003392, allocations: 12.03 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.003416, allocations: 16.02 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.955e-05/0.003486, allocations: 121.6 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.003501, allocations: 4.375 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.003515, allocations: 4.375 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.737e-05/0.003602, allocations: 67.91 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003608, allocations: 192 / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.003614, allocations: 4.375 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003621, allocations: 8.125 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.003639, allocations: 12.58 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.003899, allocations: 181.1 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.003966, allocations: 40.47 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.003981, allocations: 12.84 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.003995, allocations: 1.156 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.004051, allocations: 59.33 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.004052, allocations: 0 / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001023/0.004154, allocations: 62.42 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.004187, allocations: 55.97 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.00425, allocations: 129.4 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.00426, allocations: 26.33 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.004296, allocations: 96.03 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.00431, allocations: 16.44 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.004344, allocations: 34.25 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.004415, allocations: 314.8 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.004433, allocations: 16.52 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.004467, allocations: 50.86 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.00453, allocations: 79.78 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004532, allocations: 0.9062 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.79e-05/0.004609, allocations: 75.17 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.004621, allocations: 11.94 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004626, allocations: 5.297 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.004638, allocations: 4 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.004707, allocations: 19.92 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.004711, allocations: 4.5 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.004741, allocations: 4 kB / 484 MB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.00475, allocations: 9.375 kB / 484 MB, free: 2.77 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 5.645e-05/0.004807, allocations: 114.4 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.004817, allocations: 16.98 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.004833, allocations: 4.438 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004836, allocations: 1.078 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.004838, allocations: 4.75 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004841, allocations: 3.938 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.004997, allocations: 215.6 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.004999, allocations: 3.938 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.005014, allocations: 4.594 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005015, allocations: 3.938 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.005036, allocations: 4.75 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005037, allocations: 0 / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005038, allocations: 2 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.757e-05/0.005106, allocations: 151.9 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.005115, allocations: 15.88 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.005124, allocations: 3.984 kB / 484.6 MB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.005155, allocations: 4 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.005176, allocations: 4.672 kB / 484.6 MB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.005181, allocations: 9.641 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.355e-05/0.005195, allocations: 18.3 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005195, allocations: 0 / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.005333, allocations: 15.98 kB / 484.6 MB, free: 2.137 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 9.221e-05/0.005425, allocations: 96.88 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.162e-05/0.005497, allocations: 41.86 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0055, allocations: 5.188 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.506e-05/0.005525, allocations: 20.84 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.005647, allocations: 16.88 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.005896, allocations: 160.3 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.005926, allocations: 59.34 kB / 485 MB, free: 1.691 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.005946, allocations: 7.984 kB / 485 MB, free: 1.684 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.005992, allocations: 56.09 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.005992, allocations: 4.625 kB / 485.1 MB, free: 1.625 MB / 442.7 MB Notification: Performance of Templates: time 0.002377/0.00837, allocations: 1.049 MB / 486.1 MB, free: 0.6836 MB / 442.7 MB " [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.5766570889391005]