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.0009782/0.0009782, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002333, allocations: 435.8 kB / 10.33 MB, free: 368 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.001084/0.001084, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.00244, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08559/1.099, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7709/0.7709, allocations: 155.3 MB / 399.2 MB, free: 15.94 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.2733/1.044, allocations: 49.13 MB / 448.4 MB, free: 6.031 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.004e-06/2.004e-06, allocations: 0 / 449.7 MB, free: 4.77 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.303e-05, allocations: 10.66 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00186/0.001883, allocations: 0.6539 MB / 450.3 MB, free: 4.137 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.003422, allocations: 1.169 MB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.003468, allocations: 5.906 kB / 451.5 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.563e-05/0.003533, allocations: 4.984 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.081e-05/0.003564, allocations: 9.562 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.003925, allocations: 112.2 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.004183, allocations: 90.25 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.004268, allocations: 4.766 kB / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.004377, allocations: 61.17 kB / 451.8 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.004476, allocations: 25.42 kB / 451.8 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.004497, allocations: 8.875 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-05/0.00458, allocations: 28.55 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.004628, allocations: 11.75 kB / 451.9 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.004669, allocations: 17.75 kB / 451.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.004799, allocations: 62.45 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.637e-05/0.004816, allocations: 0 / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004817, allocations: 0 / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.004833, allocations: 0 / 451.9 MB, free: 2.555 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.00039/0.005223, allocations: 293.9 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.005253, allocations: 12.02 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.005289, allocations: 9.938 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005411, allocations: 117.7 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.00542, allocations: 384 / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.005433, allocations: 10.23 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.005496, allocations: 38.25 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.005503, allocations: 0.6875 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.005509, allocations: 0.875 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005514, allocations: 384 / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.396e-05/0.005528, allocations: 13.2 kB / 452.4 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.005703, allocations: 168.2 kB / 452.6 MB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.286e-05/0.005736, allocations: 22.56 kB / 452.6 MB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-06/0.005744, allocations: 5.609 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.005747, allocations: 6.844 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.005829, allocations: 56.62 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.00583, allocations: 3.938 kB / 452.7 MB, free: 1.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001097/0.00594, allocations: 49.62 kB / 452.7 MB, free: 1.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.005971, allocations: 51.41 kB / 452.8 MB, free: 1.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.006027, allocations: 111.2 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.006042, allocations: 29.7 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.006075, allocations: 92.7 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.006083, allocations: 10.62 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.006123, allocations: 25.7 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.00619, allocations: 314.8 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.006228, allocations: 49.69 kB / 453.4 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.006276, allocations: 72.2 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.006325, allocations: 75.39 kB / 453.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.006327, allocations: 0 / 453.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.873e-05/0.006426, allocations: 149.6 kB / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.006458, allocations: 43.08 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006463, allocations: 4.875 kB / 453.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.006471, allocations: 0 / 453.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.006487, allocations: 3.938 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.00649, allocations: 8.766 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.006597, allocations: 25.31 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.006608, allocations: 4 kB / 453.8 MB, free: 0.5195 MB / 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 5.72e-05/0.006666, allocations: 112.7 kB / 453.9 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.006673, allocations: 8.828 kB / 453.9 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.006695, allocations: 12.48 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006697, allocations: 1.641 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006699, allocations: 0 / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.006701, allocations: 0.8438 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.531e-05/0.006756, allocations: 69.89 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006757, allocations: 0.8438 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-06/0.00676, allocations: 0 / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.006764, allocations: 5.438 kB / 454 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006765, allocations: 4 kB / 454 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.006769, allocations: 3.938 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.00677, allocations: 0 / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006771, allocations: 2.094 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.784e-05/0.006828, allocations: 73.97 kB / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.006835, allocations: 0 / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.006845, allocations: 8 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.006861, allocations: 3.938 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.006862, allocations: 0 / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.042e-05/0.006873, allocations: 13.75 kB / 454.1 MB, free: 164 kB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006873, allocations: 0 / 454.1 MB, free: 164 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001077/0.006981, allocations: 17.19 kB / 454.1 MB, free: 148 kB / 426.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 9.696e-05/0.007078, allocations: 76.42 kB / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.007206, allocations: 138.5 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.00721, allocations: 4.578 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.007225, allocations: 15.39 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.41e-05/0.007319, allocations: 12.66 kB / 454.3 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.00769, allocations: 138.4 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.007718, allocations: 63.02 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.242e-05/0.007741, allocations: 4.797 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.007802, allocations: 63.36 kB / 454.6 MB, free: 15.58 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007802, allocations: 1.219 kB / 454.6 MB, free: 15.58 MB / 442.7 MB Notification: Performance of Templates: time 0.002544/0.01035, allocations: 1.29 MB / 455.9 MB, free: 14.38 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.5915652699768543]