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.001636/0.001636, allocations: 88.72 kB / 19.44 MB, free: 356 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.001544/0.001544, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.265/1.265, allocations: 154.8 MB / 414.3 MB, free: 460 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 178] 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 3.436e-06/3.436e-06, allocations: 0 / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.343e-05/6.687e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002654/0.002721, allocations: 0.7304 MB / 0.5206 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.004652, allocations: 1.17 MB / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.004711, allocations: 4.625 kB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.004745, allocations: 3.938 kB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.761e-05/0.004833, allocations: 12.67 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.005382, allocations: 133.3 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.005582, allocations: 115.8 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.00568, allocations: 15.97 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.005824, allocations: 64.45 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.005946, allocations: 35.94 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.005979, allocations: 13 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.749e-05/0.006046, allocations: 23.92 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.006073, allocations: 13.36 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.006147, allocations: 35.91 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.006376, allocations: 131.6 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.006381, allocations: 0 / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006382, allocations: 0.7812 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.006387, allocations: 0 / 0.5223 GB, free: 15.78 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.0006808/0.007068, allocations: 333.1 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.007111, allocations: 15.97 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.007181, allocations: 7.594 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.007317, allocations: 125.7 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.007337, allocations: 4.375 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.007363, allocations: 8.375 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.007579, allocations: 66.22 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.007589, allocations: 192 / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.007601, allocations: 4.312 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.007606, allocations: 0.875 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.007805, allocations: 49.3 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.008338, allocations: 249.4 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.008541, allocations: 58.55 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.008658, allocations: 37.92 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.008674, allocations: 1 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.008979, allocations: 91.95 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.00898, allocations: 0 / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005112/0.009491, allocations: 151.4 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.009543, allocations: 51.41 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.009662, allocations: 120.1 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.009696, allocations: 25.7 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.41e-05/0.00979, allocations: 97.89 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.009819, allocations: 19.84 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.009909, allocations: 37.7 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.01009, allocations: 318.8 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.01029, allocations: 87.28 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.01051, allocations: 114 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.01083, allocations: 148 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01084, allocations: 0.75 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00055/0.01139, allocations: 254.6 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.01144, allocations: 41.64 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01145, allocations: 2.188 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.01147, allocations: 0 / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.01156, allocations: 15.92 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01157, allocations: 4 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.01182, allocations: 38.7 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.01184, allocations: 8 kB / 0.5248 GB, free: 13.02 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 0.0001223/0.01197, allocations: 115.6 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.012, allocations: 19.88 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.01203, allocations: 12.42 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01203, allocations: 0 / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01204, allocations: 5.469 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01204, allocations: 0 / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.01258, allocations: 331 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01258, allocations: 0 / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.01265, allocations: 8.922 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01266, allocations: 0 / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01267, allocations: 4 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01267, allocations: 0.75 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01267, allocations: 0 / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.01302, allocations: 213.5 kB / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01304, allocations: 7.953 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01306, allocations: 3.984 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.01315, allocations: 4.594 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.01321, allocations: 11.98 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01321, allocations: 0.7188 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.01328, allocations: 94.22 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01328, allocations: 0.6562 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000286/0.01357, allocations: 28.88 kB / 0.5256 GB, free: 12.13 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 0.0001764/0.01375, allocations: 109 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.01419, allocations: 193 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01419, allocations: 0 / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01433, allocations: 43.03 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01465, allocations: 22.38 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.01523, allocations: 165.1 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.01531, allocations: 67.34 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.01535, allocations: 9.172 kB / 0.5262 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.01538, allocations: 12.5 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01538, allocations: 0 / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.004875/0.02026, allocations: 1.565 MB / 0.5277 GB, free: 9.988 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.883265177020803]