Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001557/0.001557, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001204/0.001204, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7738/0.7738, allocations: 154.6 MB / 414.9 MB, free: 0.6953 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.256e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001242/0.001264, allocations: 0.7446 MB / 0.521 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.002416, allocations: 1.217 MB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.002467, allocations: 3.938 kB / 0.5222 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.002494, allocations: 5.75 kB / 0.5222 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.002564, allocations: 7.875 kB / 0.5222 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.002985, allocations: 141.2 kB / 0.5224 GB, free: 452 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.003141, allocations: 131.7 kB / 0.5225 GB, free: 320 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003249, allocations: 16.16 kB / 0.5225 GB, free: 300 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.003356, allocations: 71.88 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.003433, allocations: 32.69 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003454, allocations: 12 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.003515, allocations: 29.39 kB / 0.5227 GB, free: 156 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.003544, allocations: 19.91 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.003598, allocations: 39.91 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.003763, allocations: 107.7 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003765, allocations: 1.344 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003766, allocations: 0 / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00377, allocations: 0 / 0.5228 GB, free: 15.99 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004614/0.004232, allocations: 443.1 kB / 0.5232 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.004268, allocations: 12.03 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.004376, allocations: 12.89 kB / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.004459, allocations: 119.3 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.004476, allocations: 12.36 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.004492, allocations: 12.31 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.004621, allocations: 66.94 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004627, allocations: 192 / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.004638, allocations: 8.375 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004646, allocations: 4.125 kB / 0.5235 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.004686, allocations: 11.98 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.005078, allocations: 324.7 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.005164, allocations: 43.98 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.00519, allocations: 19.62 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.005205, allocations: 1.594 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.557e-05/0.0053, allocations: 81.17 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.005302, allocations: 0 / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001984/0.0055, allocations: 101.6 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.005533, allocations: 56.33 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.005612, allocations: 176.8 kB / 0.5243 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.005633, allocations: 39.05 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.005686, allocations: 146.8 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.005706, allocations: 19.84 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.005762, allocations: 43.36 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.005864, allocations: 497.3 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.005936, allocations: 65.67 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.006019, allocations: 115.8 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.00613, allocations: 141.7 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006132, allocations: 3.094 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002124/0.006344, allocations: 212.8 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.006373, allocations: 41.69 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006378, allocations: 0 / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.006391, allocations: 4 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.006465, allocations: 15.94 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.006473, allocations: 6.734 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.006705, allocations: 27.94 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.006726, allocations: 8 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.553e-05/0.006811, allocations: 170.3 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.006826, allocations: 17.2 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.006958, allocations: 82.42 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00696, allocations: 4 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.006964, allocations: 0 / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.006968, allocations: 0.5 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.007161, allocations: 355.2 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007162, allocations: 0 / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.007191, allocations: 4 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007193, allocations: 0 / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.007201, allocations: 7.984 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.007202, allocations: 2.438 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007203, allocations: 0 / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.007321, allocations: 239.8 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.007328, allocations: 7.953 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.00734, allocations: 4 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.007375, allocations: 7.938 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.007412, allocations: 11.92 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.007417, allocations: 2.344 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.007458, allocations: 135.2 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007458, allocations: 0 / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001711/0.007629, allocations: 24 kB / 0.5266 GB, free: 11.75 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001106/0.00774, allocations: 108.2 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.007928, allocations: 169.6 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00793, allocations: 0 / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.007967, allocations: 27.61 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.008159, allocations: 26.92 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.008615, allocations: 182.4 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.008656, allocations: 59.34 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.008678, allocations: 7.969 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.008701, allocations: 12.5 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.008702, allocations: 0 / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.003009/0.01171, allocations: 1.553 MB / 0.5287 GB, free: 9.645 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8252558449748904]