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.001013/0.001013, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009639/0.0009639, allocations: 169 kB / 23.27 MB, free: 1.223 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.002/1.002, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7644/0.7644, allocations: 154.9 MB / 415.1 MB, free: 260 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 3.076e-06/3.076e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.578e-05, allocations: 2.859 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.00224/0.002276, allocations: 0.7295 MB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004053, allocations: 1.203 MB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.004114, allocations: 0 / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.381e-05/0.004208, allocations: 3.938 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.004315, allocations: 12.86 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.0048, allocations: 129.1 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.004941, allocations: 123.7 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.005034, allocations: 16.7 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.00515, allocations: 63.89 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.005224, allocations: 36.72 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.005244, allocations: 8 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.0053, allocations: 19.98 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.005321, allocations: 18.95 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.005358, allocations: 31.97 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.0055, allocations: 99.69 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.005505, allocations: 0 / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005506, allocations: 0 / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.00551, allocations: 0 / 0.5236 GB, free: 15.06 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.0005019/0.006012, allocations: 430.1 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.006067, allocations: 8.531 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.006117, allocations: 16.88 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.427e-05/0.006211, allocations: 120.6 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.006226, allocations: 4.375 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.006243, allocations: 13.22 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.006387, allocations: 62.88 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006396, allocations: 5.094 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.006405, allocations: 4.375 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.006413, allocations: 1.344 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.006441, allocations: 15.92 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.006784, allocations: 288.9 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.006862, allocations: 48.08 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.00688, allocations: 15.81 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.006888, allocations: 4.5 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.019e-05/0.006978, allocations: 78.05 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.006979, allocations: 0 / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001556/0.007134, allocations: 98.7 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.007161, allocations: 55.41 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.007229, allocations: 181.9 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.007245, allocations: 25.7 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.007317, allocations: 143.4 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.007335, allocations: 21.41 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.007383, allocations: 47.34 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.007483, allocations: 0.4923 MB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.00753, allocations: 49.69 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.007593, allocations: 103.9 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.007684, allocations: 117.3 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.007687, allocations: 9.062 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001667/0.007854, allocations: 193.8 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.00788, allocations: 36.19 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.007886, allocations: 8.469 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.007898, allocations: 0 / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.007951, allocations: 12.69 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.007954, allocations: 4 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.008035, allocations: 33.12 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.008047, allocations: 4 kB / 0.5262 GB, free: 12.09 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 7.374e-05/0.008121, allocations: 177.3 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.00813, allocations: 9.484 kB / 0.5264 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.008157, allocations: 12.38 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.00816, allocations: 4 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008162, allocations: 0 / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.008165, allocations: 4.438 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.008373, allocations: 315.3 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008375, allocations: 0 / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.008393, allocations: 4 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008397, allocations: 6.688 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.008408, allocations: 4 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.008409, allocations: 3.938 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.00841, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.008568, allocations: 219.9 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.008575, allocations: 3.953 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008588, allocations: 7.938 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.008626, allocations: 10.39 kB / 0.5269 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.008654, allocations: 7.984 kB / 0.527 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.008658, allocations: 0 / 0.527 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.008696, allocations: 135.2 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008696, allocations: 0 / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001592/0.008856, allocations: 24 kB / 0.5271 GB, free: 11.11 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.0001291/0.008985, allocations: 99.88 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.009134, allocations: 165.7 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.009136, allocations: 2.094 kB / 0.5274 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.009163, allocations: 27.67 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.009339, allocations: 11.98 kB / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.009576, allocations: 171.7 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.00961, allocations: 63.28 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.009629, allocations: 4.844 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.009705, allocations: 98.83 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.009705, allocations: 0 / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.003071/0.01278, allocations: 1.72 MB / 0.5294 GB, free: 8.777 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.806188893970102]