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.000923/0.000923, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001006/0.001006, allocations: 177.3 kB / 23.36 MB, free: 1.129 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 0.9809/0.9809, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.7771/0.7771, allocations: 154.9 MB / 415.1 MB, free: 248 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.804e-06/1.804e-06, allocations: 0 / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.257e-05, allocations: 4.141 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001526/0.001549, allocations: 0.7328 MB / 481.1 MB, free: 5.848 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.002717, allocations: 1.215 MB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.002757, allocations: 0 / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.002782, allocations: 8.672 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.002849, allocations: 9.266 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.003197, allocations: 136.7 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.003343, allocations: 119.1 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.708e-05/0.00341, allocations: 12.55 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.003509, allocations: 67.06 kB / 482.7 MB, free: 4.305 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.003583, allocations: 43.28 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.003603, allocations: 8 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.003658, allocations: 24.88 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.003678, allocations: 12.8 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.003715, allocations: 36.45 kB / 482.8 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003836, allocations: 92.84 kB / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003838, allocations: 0 / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003839, allocations: 0 / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003842, allocations: 0.5312 kB / 482.9 MB, free: 4.098 MB / 442.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.0003269/0.004169, allocations: 302.2 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.004199, allocations: 12.03 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.004227, allocations: 10.17 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.566e-05/0.004302, allocations: 121.7 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.004314, allocations: 8.375 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.004329, allocations: 7.656 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.904e-05/0.004418, allocations: 66.92 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004424, allocations: 4.125 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.00443, allocations: 384 / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004434, allocations: 4.375 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.004455, allocations: 7.938 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.004688, allocations: 184.2 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.004755, allocations: 31.48 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.004774, allocations: 16.84 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.004779, allocations: 4.812 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.994e-05/0.004859, allocations: 71.38 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.00486, allocations: 0.9062 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001146/0.004975, allocations: 69.97 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.005005, allocations: 56.03 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.005065, allocations: 130.1 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.005085, allocations: 34.33 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.005122, allocations: 97.28 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.005136, allocations: 11.91 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.005182, allocations: 42.3 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.005263, allocations: 318.8 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.907e-05/0.005312, allocations: 54.25 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.005373, allocations: 94.58 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.005451, allocations: 100.5 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005453, allocations: 4 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001474/0.005601, allocations: 168.9 kB / 484.9 MB, free: 1.902 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.005628, allocations: 34.36 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005632, allocations: 1.031 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005643, allocations: 11.94 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.005701, allocations: 15.98 kB / 484.9 MB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.005703, allocations: 0.625 kB / 484.9 MB, free: 1.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.005782, allocations: 29.23 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.005793, allocations: 8 kB / 485 MB, free: 1.801 MB / 442.7 MB 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 5.869e-05/0.005852, allocations: 122.9 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.005862, allocations: 7.984 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.005881, allocations: 13.5 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.005884, allocations: 3.938 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.005885, allocations: 3.938 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005888, allocations: 1.156 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.006056, allocations: 218.8 kB / 485.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006057, allocations: 0 / 485.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.00608, allocations: 5.844 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.006081, allocations: 0 / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.006086, allocations: 7.938 kB / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.006087, allocations: 0 / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006088, allocations: 3.984 kB / 485.3 MB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.006169, allocations: 152.4 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.006178, allocations: 11.94 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.006192, allocations: 5.094 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.006226, allocations: 4 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.006251, allocations: 7.922 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.006256, allocations: 8.906 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.549e-05/0.006271, allocations: 16.84 kB / 485.5 MB, free: 1.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006271, allocations: 0 / 485.5 MB, free: 1.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.006414, allocations: 20.75 kB / 485.6 MB, free: 1.152 MB / 442.7 MB 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.079e-05/0.006505, allocations: 85.5 kB / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.006642, allocations: 150.8 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.006644, allocations: 0 / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.006671, allocations: 21.38 kB / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.006806, allocations: 16.92 kB / 485.8 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.007044, allocations: 171 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.007077, allocations: 55.36 kB / 486.1 MB, free: 0.582 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.007108, allocations: 9.391 kB / 486.1 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.007182, allocations: 67.36 kB / 486.1 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.007183, allocations: 1.344 kB / 486.1 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of Templates: time 0.003057/0.01024, allocations: 1.647 MB / 487.8 MB, free: 14.98 MB / 458.7 MB " [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.5280187521129847]