Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0009244/0.0009244, allocations: 80.75 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.001042/0.001042, allocations: 181 kB / 23.36 MB, free: 1.133 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.073/1.073, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.838/0.838, allocations: 154.9 MB / 415.1 MB, free: 244 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.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.724e-05, allocations: 8.5 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001765/0.001783, allocations: 0.8816 MB / 481.3 MB, free: 5.648 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004627/0.006409, allocations: 1.363 MB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.00648, allocations: 3.938 kB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.00659, allocations: 16.89 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.984e-05/0.00668, allocations: 40.78 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.007281, allocations: 258.6 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.007615, allocations: 331.8 kB / 483.3 MB, free: 3.668 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.007733, allocations: 38.33 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.007973, allocations: 199.6 kB / 483.5 MB, free: 3.434 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.008119, allocations: 77.67 kB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.008157, allocations: 24 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.008253, allocations: 43.92 kB / 483.7 MB, free: 3.293 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.008307, allocations: 48.56 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.008393, allocations: 79.81 kB / 483.8 MB, free: 3.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.008635, allocations: 216.1 kB / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.008637, allocations: 0 / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008638, allocations: 5.156 kB / 484 MB, free: 2.953 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.008642, allocations: 0 / 484 MB, free: 2.953 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004845/0.009127, allocations: 456.3 kB / 484.4 MB, free: 2.473 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.009157, allocations: 8.031 kB / 484.5 MB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.01236, allocations: 48.83 kB / 484.5 MB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.01259, allocations: 189.5 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.01261, allocations: 12.38 kB / 484.7 MB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.01264, allocations: 21.28 kB / 484.7 MB, free: 2.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.01278, allocations: 129.5 kB / 484.8 MB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.01279, allocations: 1.125 kB / 484.8 MB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.0128, allocations: 13.03 kB / 484.9 MB, free: 2.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.01281, allocations: 5.031 kB / 484.9 MB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.01286, allocations: 35.84 kB / 484.9 MB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.01332, allocations: 0.5217 MB / 485.4 MB, free: 1.434 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.494e-05/0.01338, allocations: 45.77 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.0134, allocations: 17.78 kB / 485.5 MB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.01341, allocations: 5 kB / 485.5 MB, free: 1.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.01353, allocations: 97.83 kB / 485.6 MB, free: 1.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.01353, allocations: 0 / 485.6 MB, free: 1.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001444/0.01367, allocations: 90.39 kB / 485.7 MB, free: 1.137 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.01371, allocations: 81.05 kB / 485.8 MB, free: 1.039 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01387, allocations: 200.8 kB / 485.9 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01389, allocations: 29.7 kB / 486 MB, free: 0.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.01396, allocations: 132.7 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.01398, allocations: 20.53 kB / 486.1 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.057e-05/0.01406, allocations: 53.66 kB / 486.2 MB, free: 0.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.01415, allocations: 335.4 kB / 486.5 MB, free: 252 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.01424, allocations: 99.38 kB / 486.6 MB, free: 140 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.01445, allocations: 211.9 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.0146, allocations: 178.9 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0146, allocations: 1.781 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002476/0.01485, allocations: 285.2 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.01489, allocations: 71.39 kB / 487.3 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01489, allocations: 4 kB / 487.3 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01491, allocations: 6.75 kB / 487.3 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.01495, allocations: 8 kB / 487.4 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.01496, allocations: 10.28 kB / 487.4 MB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.01514, allocations: 55.84 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.01516, allocations: 8 kB / 487.4 MB, free: 15.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.003105/0.01826, allocations: 125.7 kB / 487.5 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.01828, allocations: 8 kB / 487.6 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.01831, allocations: 21.8 kB / 487.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01832, allocations: 11.88 kB / 487.6 MB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01832, allocations: 1.906 kB / 487.6 MB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01832, allocations: 0 / 487.6 MB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.01843, allocations: 101.8 kB / 487.7 MB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01843, allocations: 3.984 kB / 487.7 MB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.01845, allocations: 7.938 kB / 487.7 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01845, allocations: 0.75 kB / 487.7 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.01846, allocations: 4 kB / 487.7 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01846, allocations: 0.7188 kB / 487.7 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01846, allocations: 0 / 487.7 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.01856, allocations: 107.1 kB / 487.8 MB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.01858, allocations: 15.91 kB / 487.8 MB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.01859, allocations: 4 kB / 487.8 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.01861, allocations: 0.5 kB / 487.8 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.01864, allocations: 20.64 kB / 487.9 MB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01865, allocations: 0.5625 kB / 487.9 MB, free: 14.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.0187, allocations: 59.03 kB / 487.9 MB, free: 14.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0187, allocations: 1.094 kB / 487.9 MB, free: 14.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01891, allocations: 43.89 kB / 488 MB, free: 14.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * 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.000104/0.01901, allocations: 89.28 kB / 488 MB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.01925, allocations: 274.5 kB / 488.3 MB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.01926, allocations: 0 / 488.3 MB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.258e-05/0.01929, allocations: 30.66 kB / 488.3 MB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.01944, allocations: 36.88 kB / 488.4 MB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.01994, allocations: 302.4 kB / 488.7 MB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.108e-05/0.01998, allocations: 73.72 kB / 488.7 MB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.108e-05/0.02002, allocations: 19.22 kB / 488.8 MB, free: 13.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.02016, allocations: 96.33 kB / 488.9 MB, free: 13.62 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02016, allocations: 0 / 488.9 MB, free: 13.62 MB / 458.7 MB Notification: Performance of Templates: time 0.01585/0.03601, allocations: 2.853 MB / 491.7 MB, free: 11.02 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.782399549148977]