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.0007361/0.0007361, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001279/0.002015, 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.0006936/0.0006936, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009557/0.001649, 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.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09536/1.113, 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.8157/0.8157, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2651/1.081, allocations: 49.13 MB / 448.6 MB, free: 5.898 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 1.483e-06/1.483e-06, allocations: 0 / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.139e-05, allocations: 4.562 kB / 450 MB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002639/0.00266, allocations: 1.901 MB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006656/0.009316, allocations: 1.162 MB / 453 MB, free: 1.539 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.009405, allocations: 8.75 kB / 453 MB, free: 1.531 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.009835, allocations: 166.5 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.01018, allocations: 163.5 kB / 453.4 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.01049, allocations: 143.4 kB / 453.5 MB, free: 1.082 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.01069, allocations: 176.5 kB / 453.7 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.01077, allocations: 20.34 kB / 453.7 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.01094, allocations: 133.3 kB / 453.8 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.01104, allocations: 63.86 kB / 453.9 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.01105, allocations: 9 kB / 453.9 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.01119, allocations: 67.88 kB / 454 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.01125, allocations: 35.88 kB / 454 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.01129, allocations: 32.72 kB / 454 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.0115, allocations: 155.4 kB / 454.2 MB, free: 428 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.01151, allocations: 1.875 kB / 454.2 MB, free: 428 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01151, allocations: 0 / 454.2 MB, free: 428 kB / 426.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01152, allocations: 0 / 454.2 MB, free: 428 kB / 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.0004559/0.01197, allocations: 435.2 kB / 454.6 MB, free: 15.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.451e-05/0.012, allocations: 8.031 kB / 454.6 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.01203, allocations: 13.44 kB / 454.6 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.01222, allocations: 190 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.01223, allocations: 4.375 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.01225, allocations: 4.688 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.01235, allocations: 65.09 kB / 454.9 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.01235, allocations: 4.688 kB / 454.9 MB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.01236, allocations: 1.156 kB / 454.9 MB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.01237, allocations: 0 / 454.9 MB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.0124, allocations: 19.98 kB / 454.9 MB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.01279, allocations: 198.3 kB / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.01289, allocations: 95.83 kB / 455.2 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.01291, allocations: 16.84 kB / 455.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.01292, allocations: 0 / 455.2 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.01303, allocations: 74.7 kB / 455.3 MB, free: 15.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.01303, allocations: 1.734 kB / 455.3 MB, free: 15.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001221/0.01315, allocations: 73.61 kB / 455.4 MB, free: 15.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.01317, allocations: 51.41 kB / 455.4 MB, free: 15.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.01334, allocations: 226.2 kB / 455.6 MB, free: 14.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.01335, allocations: 25.7 kB / 455.7 MB, free: 14.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.0134, allocations: 101.9 kB / 455.8 MB, free: 14.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.01342, allocations: 27.78 kB / 455.8 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.01346, allocations: 29.69 kB / 455.8 MB, free: 14.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.01354, allocations: 331.4 kB / 456.1 MB, free: 14.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.01356, allocations: 10.83 kB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.377e-05/0.0136, allocations: 66.94 kB / 456.2 MB, free: 14.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.01365, allocations: 43.34 kB / 456.3 MB, free: 14.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01366, allocations: 0 / 456.3 MB, free: 14.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.734e-05/0.01374, allocations: 76.42 kB / 456.3 MB, free: 14.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.01375, allocations: 8 kB / 456.3 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.01376, allocations: 0.9375 kB / 456.3 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.01377, allocations: 0 / 456.3 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.01382, allocations: 12 kB / 456.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.01382, allocations: 1.031 kB / 456.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.01386, allocations: 15.88 kB / 456.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.01386, allocations: 0.5312 kB / 456.4 MB, free: 14.05 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 7.601e-05/0.01394, allocations: 126.3 kB / 456.5 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.01396, allocations: 11.98 kB / 456.5 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.01405, allocations: 75.81 kB / 456.6 MB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.01406, allocations: 4 kB / 456.6 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01407, allocations: 4.625 kB / 456.6 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01407, allocations: 7.328 kB / 456.6 MB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.01418, allocations: 105.8 kB / 456.7 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01419, allocations: 4.562 kB / 456.7 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.01421, allocations: 7.938 kB / 456.7 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.01423, allocations: 20.53 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01423, allocations: 0.625 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.01423, allocations: 3.984 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01424, allocations: 0.5938 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01424, allocations: 240 / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.01432, allocations: 96.83 kB / 456.8 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01434, allocations: 8 kB / 456.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.01437, allocations: 5.766 kB / 456.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.01439, allocations: 7.984 kB / 456.9 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.0144, allocations: 0 / 456.9 MB, free: 13.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.281e-05/0.01447, allocations: 73.06 kB / 456.9 MB, free: 13.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01447, allocations: 0.8125 kB / 456.9 MB, free: 13.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.01465, allocations: 39.86 kB / 457 MB, free: 13.41 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.001311/0.01596, allocations: 0.5697 MB / 457.5 MB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.01606, allocations: 42.17 kB / 457.6 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.01606, allocations: 0 / 457.6 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.725e-05/0.0161, allocations: 37.72 kB / 457.6 MB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.01629, allocations: 230.3 kB / 457.8 MB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.01672, allocations: 284.6 kB / 458.1 MB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.01675, allocations: 71.83 kB / 458.2 MB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.0168, allocations: 32.62 kB / 458.2 MB, free: 12.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.01686, allocations: 75.36 kB / 458.3 MB, free: 12.36 MB / 442.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01686, allocations: 0.5312 kB / 458.3 MB, free: 12.36 MB / 442.7 MB Notification: Performance of Templates: time 0.004429/0.02129, allocations: 2.688 MB / 461 MB, free: 9.906 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.6444766940549016]