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.0007644/0.0007644, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009924/0.001757, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000682/0.000682, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009056/0.001588, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09348/1.132, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.785/0.785, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3183/1.103, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 2.555e-06/2.555e-06, allocations: 0 / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.693e-05, allocations: 4.703 kB / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001347/0.001374, allocations: 0.6615 MB / 450.6 MB, free: 3.984 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002443, allocations: 1.181 MB / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.002484, allocations: 0.5469 kB / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.002537, allocations: 0 / 451.8 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.185e-05/0.002558, allocations: 7.422 kB / 451.8 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.002838, allocations: 112.4 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.002974, allocations: 96.22 kB / 452 MB, free: 2.598 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.003037, allocations: 12.64 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.802e-05/0.003115, allocations: 45.72 kB / 452 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.003202, allocations: 34.36 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.003221, allocations: 8 kB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.003291, allocations: 25.2 kB / 452.1 MB, free: 2.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.003337, allocations: 6.297 kB / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.003375, allocations: 20.66 kB / 452.1 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003488, allocations: 55.34 kB / 452.2 MB, free: 2.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.003499, allocations: 0.5938 kB / 452.2 MB, free: 2.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.0035, allocations: 0.7812 kB / 452.2 MB, free: 2.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.003508, allocations: 0 / 452.2 MB, free: 2.406 MB / 426.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.00037/0.003878, allocations: 298.2 kB / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.003908, allocations: 12.03 kB / 452.5 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.003944, allocations: 16.86 kB / 452.5 MB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.004062, allocations: 110.8 kB / 452.6 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.004073, allocations: 4.359 kB / 452.6 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.004089, allocations: 12.38 kB / 452.6 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.948e-05/0.004148, allocations: 37.44 kB / 452.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.004154, allocations: 0.7344 kB / 452.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.004161, allocations: 384 / 452.7 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004168, allocations: 4.375 kB / 452.7 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.032e-05/0.004178, allocations: 7.938 kB / 452.7 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.004351, allocations: 168.8 kB / 452.9 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.186e-05/0.004383, allocations: 23.75 kB / 452.9 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-06/0.004391, allocations: 4.859 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.004394, allocations: 5.125 kB / 452.9 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.72e-05/0.004471, allocations: 55.98 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.004472, allocations: 1.031 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.004576, allocations: 55.11 kB / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.00461, allocations: 51.41 kB / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.004668, allocations: 115.3 kB / 453.2 MB, free: 1.324 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.004684, allocations: 30.3 kB / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.004723, allocations: 88.08 kB / 453.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.00473, allocations: 5.406 kB / 453.3 MB, free: 1.195 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.004771, allocations: 30.67 kB / 453.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.004841, allocations: 318.8 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.004886, allocations: 45.69 kB / 453.7 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.357e-05/0.00493, allocations: 76.97 kB / 453.7 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.512e-05/0.004985, allocations: 69.75 kB / 453.8 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004987, allocations: 4 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001084/0.005095, allocations: 143.3 kB / 454 MB, free: 468 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.00513, allocations: 45.62 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.005134, allocations: 0.9375 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.005145, allocations: 4.703 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.625e-05/0.005161, allocations: 4 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.005164, allocations: 0.5625 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.005277, allocations: 24.81 kB / 454 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.00529, allocations: 9.891 kB / 454 MB, free: 376 kB / 426.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 6.045e-05/0.005351, allocations: 116.7 kB / 454.2 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.005358, allocations: 4 kB / 454.2 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.005383, allocations: 16.91 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005385, allocations: 1.688 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005386, allocations: 0 / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.005391, allocations: 4 kB / 454.2 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.511e-05/0.005446, allocations: 65.89 kB / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005447, allocations: 0 / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-06/0.005451, allocations: 0.5625 kB / 454.2 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.005457, allocations: 9.234 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005458, allocations: 0 / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005464, allocations: 5.031 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005464, allocations: 0.75 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005466, allocations: 1.594 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.679e-05/0.005523, allocations: 69.69 kB / 454.3 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.00553, allocations: 4 kB / 454.3 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.005539, allocations: 0.625 kB / 454.3 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.005558, allocations: 7.922 kB / 454.3 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.00556, allocations: 0.625 kB / 454.3 MB, free: 20 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.285e-05/0.005573, allocations: 9.484 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005573, allocations: 0 / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001226/0.005696, allocations: 17.44 kB / 454.4 MB, free: 15.99 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 0.0001003/0.005796, allocations: 88.98 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.00592, allocations: 135.8 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.005923, allocations: 5.562 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.757e-05/0.005941, allocations: 13.94 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.006058, allocations: 63.34 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.006459, allocations: 135.8 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.006486, allocations: 59.22 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.669e-05/0.006503, allocations: 5.922 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.006567, allocations: 63.36 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006568, allocations: 0.5625 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of Templates: time 0.002659/0.009227, allocations: 1.283 MB / 456.2 MB, free: 14.17 MB / 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.701585656963289]