Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001573/0.001573, allocations: 77.78 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001394/0.001394, allocations: 160.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 101.3 MB / 361.1 MB, free: 9.57 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003451/0.003451, allocations: 62.91 kB / 0.5356 GB, free: 5.184 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1777/0.1811, allocations: 85.88 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003212/0.1843, allocations: 1.784 MB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1863, allocations: 1.119 MB / 0.6223 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.1864, allocations: 0 / 0.6223 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.1869, allocations: 171.5 kB / 0.6225 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.1873, allocations: 163.5 kB / 0.6227 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1877, allocations: 131.6 kB / 0.6228 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1879, allocations: 175.6 kB / 0.623 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.188, allocations: 13.31 kB / 0.623 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1881, allocations: 75.62 kB / 0.623 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1882, allocations: 79.67 kB / 0.6231 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1883, allocations: 12 kB / 0.6231 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1884, allocations: 75.88 kB / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.1885, allocations: 39.91 kB / 0.6232 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.1886, allocations: 43.67 kB / 0.6233 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1889, allocations: 219 kB / 0.6235 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1889, allocations: 0 / 0.6235 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1889, allocations: 0 / 0.6235 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1889, allocations: 0 / 0.6235 GB, free: 13.47 MB / 0.5294 GB 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.0006804/0.1896, allocations: 434.8 kB / 0.6239 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.1896, allocations: 12.03 kB / 0.6239 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1896, allocations: 28.8 kB / 0.6239 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1899, allocations: 186.2 kB / 0.6241 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.19, allocations: 384 / 0.6241 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.19, allocations: 8.125 kB / 0.6241 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1901, allocations: 81.59 kB / 0.6242 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1902, allocations: 0 / 0.6242 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1902, allocations: 0 / 0.6242 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1902, allocations: 4 kB / 0.6242 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1903, allocations: 35.98 kB / 0.6242 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.1908, allocations: 300.2 kB / 0.6245 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.191, allocations: 82.66 kB / 0.6246 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.191, allocations: 32.84 kB / 0.6246 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1911, allocations: 3.984 kB / 0.6246 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1912, allocations: 83.33 kB / 0.6247 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1912, allocations: 0 / 0.6247 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003478/0.1916, allocations: 141.5 kB / 0.6249 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1916, allocations: 63.34 kB / 0.6249 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.1919, allocations: 276.3 kB / 0.6252 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.192, allocations: 29.7 kB / 0.6252 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.1921, allocations: 124.1 kB / 0.6253 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1921, allocations: 27.78 kB / 0.6254 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.1921, allocations: 25.98 kB / 0.6254 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1923, allocations: 330.8 kB / 0.6257 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.1924, allocations: 27.98 kB / 0.6257 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1925, allocations: 88.19 kB / 0.6258 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1926, allocations: 73.64 kB / 0.6259 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1926, allocations: 0 / 0.6259 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002265/0.1929, allocations: 121.5 kB / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1929, allocations: 6.656 kB / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1929, allocations: 0 / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1929, allocations: 0 / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.193, allocations: 19.98 kB / 0.626 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.193, allocations: 0 / 0.626 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.193, allocations: 7.953 kB / 0.626 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.193, allocations: 0 / 0.626 GB, free: 10.67 MB / 0.5294 GB 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.0001416/0.1932, allocations: 153.8 kB / 0.6262 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1932, allocations: 16.02 kB / 0.6262 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1935, allocations: 135 kB / 0.6263 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.1935, allocations: 0 / 0.6263 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1935, allocations: 0 / 0.6263 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.1935, allocations: 4 kB / 0.6263 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.1937, allocations: 169.1 kB / 0.6265 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1937, allocations: 0 / 0.6265 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.1937, allocations: 12 kB / 0.6265 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1937, allocations: 3.984 kB / 0.6265 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1937, allocations: 4 kB / 0.6265 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1937, allocations: 4 kB / 0.6265 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1937, allocations: 0 / 0.6265 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.194, allocations: 160.8 kB / 0.6267 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.194, allocations: 12 kB / 0.6267 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1941, allocations: 7.938 kB / 0.6267 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.1941, allocations: 4 kB / 0.6267 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1942, allocations: 7.984 kB / 0.6267 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1942, allocations: 4 kB / 0.6267 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002196/0.1944, allocations: 204.6 kB / 0.6269 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1944, allocations: 0 / 0.6269 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002458/0.1946, allocations: 35.94 kB / 0.6269 GB, free: 9.691 MB / 0.5294 GB 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.001648/0.1963, allocations: 452.5 kB / 0.6274 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1965, allocations: 75.78 kB / 0.6274 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1965, allocations: 0 / 0.6274 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.1966, allocations: 39.92 kB / 0.6275 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1969, allocations: 40.62 kB / 0.6275 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.1974, allocations: 330.6 kB / 0.6278 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.1975, allocations: 118.7 kB / 0.6279 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.71e-05/0.1976, allocations: 21.78 kB / 0.6279 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1977, allocations: 20.5 kB / 0.628 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of SimCode: time 4.2e-07/0.1977, allocations: 0 / 0.628 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of Templates: time 0.006092/0.2038, allocations: 2.396 MB / 0.6303 GB, free: 6.398 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.10918056499213] Failed to read output from testmodel.py, exit status != 0: 0.21280754101462662 0.22668143199999996 0.034697095000000004 Calling exit ...