Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001408/0.001408, allocations: 92.22 kB / 19.65 MB, free: 280 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.001481/0.001481, allocations: 169 kB / 23.02 MB, free: 1.555 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.098/1.098, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7905/0.7905, allocations: 154.8 MB / 414.7 MB, free: 484 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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.395e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001159/0.001173, allocations: 0.7305 MB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002229, allocations: 1.212 MB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.00227, allocations: 0 / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.0023, allocations: 3.938 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.002376, allocations: 12.92 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.002739, allocations: 133 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.002868, allocations: 111.8 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.002957, allocations: 23.91 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.00305, allocations: 61.17 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.003122, allocations: 39.88 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.003142, allocations: 8 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.003192, allocations: 23.98 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.003215, allocations: 16.73 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.003261, allocations: 31.97 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.003398, allocations: 96.97 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003399, allocations: 0 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.0034, allocations: 0 / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003404, allocations: 1.344 kB / 0.523 GB, free: 15.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004198/0.003823, allocations: 434.1 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.003857, allocations: 8.031 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.003908, allocations: 13.67 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.00399, allocations: 116.5 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.004003, allocations: 10.22 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.004022, allocations: 8.312 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.004136, allocations: 66.94 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.004146, allocations: 4.172 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004155, allocations: 384 / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004162, allocations: 2.438 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.004195, allocations: 11.94 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.004546, allocations: 315.6 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.004633, allocations: 43.12 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.004659, allocations: 17.14 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.004667, allocations: 4 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.993e-05/0.004757, allocations: 85.16 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.004758, allocations: 4.906 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002101/0.004968, allocations: 93.56 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.004997, allocations: 56.38 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.005075, allocations: 176.8 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.005093, allocations: 33.7 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.005148, allocations: 147.9 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.005164, allocations: 11.91 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.005215, allocations: 43.36 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.005322, allocations: 0.4891 MB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.005393, allocations: 65.67 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.005475, allocations: 108.5 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.005575, allocations: 130.4 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005577, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002032/0.00578, allocations: 207.2 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.005808, allocations: 37.64 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005813, allocations: 3.984 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.005831, allocations: 7.938 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.005895, allocations: 13.72 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.0059, allocations: 0 / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.005984, allocations: 23.97 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.005997, allocations: 8 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 6.817e-05/0.006065, allocations: 168 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.006079, allocations: 27.81 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.006101, allocations: 4.5 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.006103, allocations: 4.906 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006107, allocations: 4 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.00611, allocations: 1.062 kB / 0.5259 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.006321, allocations: 341.3 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006322, allocations: 3.938 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.006344, allocations: 10.84 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.006345, allocations: 0 / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.006352, allocations: 4 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006353, allocations: 0 / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.00636, allocations: 4 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.006472, allocations: 227.8 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.006477, allocations: 0 / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.006494, allocations: 14.73 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.006528, allocations: 0 / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.00656, allocations: 7.984 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.006565, allocations: 4 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.006604, allocations: 131.2 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006604, allocations: 4 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001705/0.006775, allocations: 24 kB / 0.5266 GB, free: 11.4 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.174e-05/0.006866, allocations: 101.4 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.007047, allocations: 172.7 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007048, allocations: 0 / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.007083, allocations: 21.06 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.007265, allocations: 26.67 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.007521, allocations: 171.8 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.007555, allocations: 64.09 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.007576, allocations: 9.609 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.0076, allocations: 12.5 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.007601, allocations: 0 / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.002939/0.01054, allocations: 1.57 MB / 0.5287 GB, free: 9.285 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.970727168954909]