Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.002259/0.002259, allocations: 85.48 kB / 19.44 MB, free: 344 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.002188/0.002188, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.302/1.302, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 0 / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.421e-05/4.774e-05, allocations: 7.094 kB / 0.5196 GB, free: 2.586 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002198/0.002245, allocations: 0.7039 MB / 0.5203 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.004317, allocations: 1.226 MB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.004375, allocations: 0 / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.004405, allocations: 4.688 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.00451, allocations: 15.88 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.005077, allocations: 137 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.005314, allocations: 119.8 kB / 0.5218 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.005416, allocations: 17.31 kB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.005563, allocations: 63.89 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005671, allocations: 35.94 kB / 0.5219 GB, free: 288 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.005704, allocations: 9.156 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.005792, allocations: 31.86 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.005829, allocations: 15.92 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.005906, allocations: 34.75 kB / 0.522 GB, free: 200 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.006167, allocations: 135.6 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.00617, allocations: 0 / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.006172, allocations: 0 / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.006178, allocations: 0 / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007596/0.006937, allocations: 421.9 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.006982, allocations: 12.03 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.007136, allocations: 21.34 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.007289, allocations: 120.5 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.00731, allocations: 4.938 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.007333, allocations: 5.344 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.007524, allocations: 58.23 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.007537, allocations: 5.797 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.007548, allocations: 384 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.007552, allocations: 4.375 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.007694, allocations: 31.92 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.008283, allocations: 316.5 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.008442, allocations: 48.45 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.00852, allocations: 27.77 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.008547, allocations: 0 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.00877, allocations: 102.1 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.008771, allocations: 0 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004364/0.009208, allocations: 126.3 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.009269, allocations: 55.41 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.009437, allocations: 183.1 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.009475, allocations: 33.7 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.009583, allocations: 138.9 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.00961, allocations: 13.22 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.009699, allocations: 47.3 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003025/0.01, allocations: 0.4923 MB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.01019, allocations: 86.36 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.01039, allocations: 120.4 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.01094, allocations: 143.5 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01094, allocations: 0 / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004968/0.01144, allocations: 244.8 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.01149, allocations: 33.69 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.0115, allocations: 6.781 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01151, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01162, allocations: 11.94 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.01163, allocations: 7.984 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.0118, allocations: 27.88 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.01183, allocations: 8 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 0.0001653/0.01199, allocations: 169.8 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.01201, allocations: 7.938 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.0123, allocations: 102.5 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.0123, allocations: 5.031 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01231, allocations: 0 / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01231, allocations: 0 / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.01278, allocations: 350.6 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01278, allocations: 3.938 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.01284, allocations: 8.484 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01284, allocations: 4 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01285, allocations: 5.969 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01286, allocations: 0 / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.01286, allocations: 3.938 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.01321, allocations: 247.8 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.01323, allocations: 10.39 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01325, allocations: 4 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.01332, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.01337, allocations: 7.984 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01338, allocations: 4 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.781e-05/0.01348, allocations: 135.2 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01348, allocations: 0 / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002616/0.01374, allocations: 22.28 kB / 0.526 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0002072/0.01395, allocations: 111.1 kB / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.01441, allocations: 204.7 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01441, allocations: 1.031 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.01453, allocations: 39.61 kB / 0.5263 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.01488, allocations: 24.86 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.01535, allocations: 163.6 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.963e-05/0.01544, allocations: 73.55 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.01548, allocations: 4 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.01552, allocations: 12.5 kB / 0.5266 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.01552, allocations: 0.6562 kB / 0.5266 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.005563/0.02109, allocations: 1.528 MB / 0.5281 GB, free: 9.621 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.265666050952859]