Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001245/0.001245, allocations: 80.88 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.001492/0.001492, allocations: 181.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.9484/0.9484, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.8045/0.8045, allocations: 154.9 MB / 415.1 MB, free: 240 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.377e-06/3.377e-06, allocations: 0 / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.323e-05, allocations: 2.312 kB / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001794/0.001827, allocations: 0.5459 MB / 480.9 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 6.221e-05/0.001889, allocations: 11.94 kB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.001917, allocations: 0 / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.001945, allocations: 0 / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.001981, allocations: 0 / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.74e-05/0.002018, allocations: 0.5625 kB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.00208, allocations: 1.312 kB / 480.9 MB, free: 6.027 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.00213, allocations: 8.625 kB / 480.9 MB, free: 6.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.002167, allocations: 3.984 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.798e-05/0.002195, allocations: 1.312 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.002214, allocations: 0.7656 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-06/0.002218, allocations: 0 / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.002233, allocations: 0.5312 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.002247, allocations: 0.5469 kB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.098e-05/0.002308, allocations: 13.23 kB / 481 MB, free: 6.004 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002311, allocations: 0.5469 kB / 481 MB, free: 6.004 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002312, allocations: 0 / 481 MB, free: 6.004 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.002315, allocations: 0.5 kB / 481 MB, free: 6.004 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002466/0.002561, allocations: 209.2 kB / 481.2 MB, free: 5.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.002594, allocations: 8.031 kB / 481.2 MB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.796e-05/0.002612, allocations: 6.031 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.977e-05/0.002682, allocations: 106.4 kB / 481.3 MB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002692, allocations: 7.641 kB / 481.3 MB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.0027, allocations: 3 kB / 481.3 MB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.267e-05/0.002753, allocations: 30.27 kB / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.002759, allocations: 192 / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-06/0.002763, allocations: 384 / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.002768, allocations: 384 / 481.3 MB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-06/0.002773, allocations: 3.938 kB / 481.3 MB, free: 5.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.002924, allocations: 294.9 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.002981, allocations: 170.7 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.003001, allocations: 84.12 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.003016, allocations: 75.84 kB / 481.9 MB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.003044, allocations: 109.8 kB / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 5.31e-07/0.003045, allocations: 0.5312 kB / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.148e-05/0.003086, allocations: 31.28 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.003132, allocations: 130.6 kB / 482.2 MB, free: 4.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/0.003185, allocations: 99.34 kB / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.003191, allocations: 25.7 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.003218, allocations: 80.77 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.21e-07/0.003219, allocations: 1.391 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.003237, allocations: 13.72 kB / 482.4 MB, free: 4.418 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.003309, allocations: 319.4 kB / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-06/0.003312, allocations: 0 / 482.7 MB, free: 4.098 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.003317, allocations: 4.625 kB / 482.7 MB, free: 4.094 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/0.003334, allocations: 75.91 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.413e-05/0.003358, allocations: 79.28 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.617e-05/0.003404, allocations: 27.06 kB / 482.9 MB, free: 3.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.003439, allocations: 87.22 kB / 483 MB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.003462, allocations: 76.09 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.778e-05/0.00351, allocations: 150.6 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.919e-05/0.003539, allocations: 85.06 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.725e-05/0.003577, allocations: 158.6 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.003641, allocations: 83.2 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.003662, allocations: 75.83 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001014/0.003764, allocations: 265.2 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.003812, allocations: 105 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.003856, allocations: 108.9 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.00391, allocations: 184.2 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.092e-05/0.003961, allocations: 188.7 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-05/0.004013, allocations: 180.8 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.004186, allocations: 310.7 kB / 484.9 MB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-05/0.004226, allocations: 108.9 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.004271, allocations: 105 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-05/0.004337, allocations: 185.5 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.004401, allocations: 184.2 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.16e-05/0.004463, allocations: 177.5 kB / 485.7 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.994e-05/0.004523, allocations: 180.2 kB / 485.8 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.00464, allocations: 307.7 kB / 486.1 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.004674, allocations: 105.7 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.004731, allocations: 181.1 kB / 486.4 MB, free: 252 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.004799, allocations: 114.1 kB / 486.5 MB, free: 132 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.004872, allocations: 183.3 kB / 486.7 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.004902, allocations: 104.9 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.208e-05/0.004924, allocations: 13.39 kB / 486.8 MB, free: 15.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004924, allocations: 1.906 kB / 486.8 MB, free: 15.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.005146, allocations: 0 / 486.8 MB, free: 15.82 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001216/0.005268, allocations: 147.7 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 3.451e-05/0.005302, allocations: 9.297 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.005305, allocations: 0 / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.005306, allocations: 1.5 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.005563, allocations: 469.7 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.005766, allocations: 157.5 kB / 487.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.005804, allocations: 56.39 kB / 487.6 MB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.446e-06/0.005807, allocations: 0.7656 kB / 487.6 MB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.005834, allocations: 47.38 kB / 487.7 MB, free: 14.89 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005834, allocations: 0.5312 kB / 487.7 MB, free: 14.89 MB / 458.7 MB Notification: Performance of Templates: time 0.001383/0.007218, allocations: 171.1 kB / 487.9 MB, free: 14.73 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.591373641975224]