Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001412/0.001412, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001671/0.001671, allocations: 177 kB / 23.36 MB, free: 1.137 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.108/1.108, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.8583/0.8583, 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.337e-05, allocations: 2.312 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001167/0.00118, allocations: 0.6715 MB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.002262, allocations: 1.174 MB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.002307, allocations: 0.6875 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.799e-05/0.002405, allocations: 0.9844 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.064e-05/0.002436, allocations: 10.94 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.002785, allocations: 125.5 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.002912, allocations: 86.84 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.002978, allocations: 13.84 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.003048, allocations: 49.17 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.476e-05/0.003132, allocations: 20.62 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.00315, allocations: 9.391 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.003214, allocations: 19.97 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.003256, allocations: 14.73 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.003296, allocations: 25.41 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003405, allocations: 77.8 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003406, allocations: 0.6562 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003407, allocations: 1.25 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.776e-06/0.00341, allocations: 3.938 kB / 482.7 MB, free: 4.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002708/0.003681, allocations: 282.7 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.003711, allocations: 8.562 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.003741, allocations: 12.92 kB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.003859, allocations: 116.8 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.003868, allocations: 4.375 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.003881, allocations: 8.375 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.472e-05/0.003935, allocations: 35.12 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.003943, allocations: 1.734 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.003952, allocations: 4.375 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003957, allocations: 384 / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.278e-05/0.00397, allocations: 15.88 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.004149, allocations: 172.8 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.735e-05/0.004176, allocations: 19.39 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.273e-06/0.004184, allocations: 4.859 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-06/0.004186, allocations: 1.578 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/0.004251, allocations: 59.39 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004252, allocations: 0.6562 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 9.064e-05/0.004342, allocations: 54.64 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.004369, allocations: 56.06 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.004428, allocations: 111.3 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.004441, allocations: 25.7 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.004478, allocations: 93.47 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.004487, allocations: 7.953 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.004525, allocations: 34.25 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.004607, allocations: 319.5 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/0.004647, allocations: 45.69 kB / 484.1 MB, free: 2.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.004692, allocations: 72.84 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.004747, allocations: 73.06 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004749, allocations: 2.547 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001052/0.004854, allocations: 146 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.004881, allocations: 41.62 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004884, allocations: 0 / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.004895, allocations: 0.5312 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-05/0.004908, allocations: 5 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.00491, allocations: 0 / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.602e-05/0.005006, allocations: 20.67 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.00502, allocations: 7.984 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.64e-05/0.005076, allocations: 117.7 kB / 484.6 MB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.005083, allocations: 4 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.005101, allocations: 8.75 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005102, allocations: 0 / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005104, allocations: 0.875 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005106, allocations: 4 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.045e-05/0.005157, allocations: 70.59 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005158, allocations: 0.7969 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-06/0.005161, allocations: 1.906 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005162, allocations: 0 / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-06/0.005165, allocations: 4.312 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.005168, allocations: 7.938 kB / 484.7 MB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.00517, allocations: 3.938 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.021e-05/0.00522, allocations: 69.86 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.005225, allocations: 1.078 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-06/0.005233, allocations: 4.688 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.00524, allocations: 0 / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.005257, allocations: 9.234 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.005259, allocations: 0 / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.078e-05/0.00527, allocations: 8.859 kB / 484.8 MB, free: 1.898 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00527, allocations: 4 kB / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001089/0.005379, allocations: 17.03 kB / 484.8 MB, free: 1.879 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.632e-05/0.005465, allocations: 93.2 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.005579, allocations: 130.8 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.005582, allocations: 4 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.005594, allocations: 8.859 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.557e-05/0.00568, allocations: 9.266 kB / 485.1 MB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.005867, allocations: 125.7 kB / 485.2 MB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.005903, allocations: 60.34 kB / 485.3 MB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.005917, allocations: 3.609 kB / 485.3 MB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.005978, allocations: 63.36 kB / 485.3 MB, free: 1.32 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.005979, allocations: 0.9375 kB / 485.3 MB, free: 1.32 MB / 442.7 MB Notification: Performance of Templates: time 0.002678/0.008657, allocations: 1.274 MB / 486.6 MB, free: 144 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.855164166074246]