Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.000839/0.000839, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002036, 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.0007702/0.0007702, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008557/0.001626, 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 0.9674/0.9674, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09918/1.067, allocations: 53.66 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.7553/0.7553, allocations: 155.3 MB / 399.2 MB, free: 15.92 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.2844/1.04, allocations: 49.13 MB / 448.4 MB, free: 5.996 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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 4 kB / 449.7 MB, free: 4.688 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.597e-05, allocations: 2.312 kB / 449.7 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002912/0.002928, allocations: 1.88 MB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.004815, allocations: 1.169 MB / 452.8 MB, free: 1.664 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.004912, allocations: 0 / 452.8 MB, free: 1.664 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.005429, allocations: 164.1 kB / 452.9 MB, free: 1.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.005807, allocations: 163.2 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.006197, allocations: 142.2 kB / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.006461, allocations: 178.6 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.006563, allocations: 20.36 kB / 453.4 MB, free: 1.035 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.006798, allocations: 128.5 kB / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.006935, allocations: 71.78 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.006961, allocations: 8.875 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.00714, allocations: 63.89 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.00721, allocations: 41.14 kB / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.007259, allocations: 23.94 kB / 453.7 MB, free: 0.707 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.007512, allocations: 155.3 kB / 453.9 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.878e-05/0.007531, allocations: 4.688 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007532, allocations: 0 / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.007549, allocations: 0.9375 kB / 453.9 MB, free: 0.5508 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006283/0.008177, allocations: 427.2 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.008208, allocations: 9.062 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.008257, allocations: 12.92 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.008525, allocations: 189.4 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.008546, allocations: 5.031 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.00856, allocations: 9.344 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.008708, allocations: 60.38 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.008719, allocations: 3.984 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.008729, allocations: 5.062 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.008752, allocations: 4 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.008797, allocations: 8 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.009155, allocations: 211 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.009282, allocations: 90.34 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.009314, allocations: 13.36 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.009327, allocations: 5.719 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.009455, allocations: 70.19 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.009457, allocations: 0 / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001692/0.009626, allocations: 74.83 kB / 455.1 MB, free: 15.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.009659, allocations: 51.41 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.009852, allocations: 221.6 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.009872, allocations: 29.7 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.009925, allocations: 105.2 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.009957, allocations: 33.02 kB / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.01, allocations: 29.69 kB / 455.5 MB, free: 14.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.0101, allocations: 330.7 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.01013, allocations: 10.83 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.01018, allocations: 63.56 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.01025, allocations: 43.41 kB / 456 MB, free: 14.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01025, allocations: 0 / 456 MB, free: 14.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001201/0.01037, allocations: 76.44 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01038, allocations: 4 kB / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01039, allocations: 0 / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.0104, allocations: 11.98 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.01048, allocations: 12.84 kB / 456.1 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.01048, allocations: 0 / 456.1 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.01054, allocations: 8.828 kB / 456.1 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.01055, allocations: 4 kB / 456.1 MB, free: 14.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001008/0.01065, allocations: 130.8 kB / 456.2 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.01067, allocations: 11.98 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.01082, allocations: 75.77 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.01083, allocations: 0.625 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01083, allocations: 0 / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01084, allocations: 0.625 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.01098, allocations: 110.3 kB / 456.4 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.01098, allocations: 7.938 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.01102, allocations: 4.625 kB / 456.4 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.01105, allocations: 19.91 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01105, allocations: 0.625 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.01106, allocations: 4.562 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.01106, allocations: 3.984 kB / 456.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01106, allocations: 0.9219 kB / 456.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.01119, allocations: 105.6 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.01121, allocations: 5.781 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.01126, allocations: 8.641 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.01129, allocations: 4 kB / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.0113, allocations: 0 / 456.6 MB, free: 13.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.0114, allocations: 77.73 kB / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0114, allocations: 0 / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.01161, allocations: 36.8 kB / 456.7 MB, free: 13.54 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.001861/0.01348, allocations: 0.5715 MB / 457.3 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.01363, allocations: 38.25 kB / 457.3 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.01364, allocations: 4 kB / 457.3 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.0137, allocations: 28.78 kB / 457.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01391, allocations: 58.94 kB / 457.4 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.01452, allocations: 282.2 kB / 457.7 MB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.01456, allocations: 79.69 kB / 457.7 MB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.0146, allocations: 19.12 kB / 457.8 MB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.01468, allocations: 76.27 kB / 457.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01468, allocations: 4 kB / 457.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of Templates: time 0.00441/0.01909, allocations: 2.656 MB / 460.5 MB, free: 10.28 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.67170522082597]