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.001318/0.001318, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001658/0.001658, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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.865/0.865, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [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.002257/0.002257, allocations: 62.84 kB / 0.6198 GB, free: 6.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1762, allocations: 85.91 MB / 0.7037 GB, free: 0.9219 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.0038/0.18, allocations: 1.824 MB / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1822, allocations: 1.201 MB / 0.7066 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1824, allocations: 7.938 kB / 0.7066 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007074/0.1831, allocations: 171.5 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.1835, allocations: 155.5 kB / 0.7069 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.184, allocations: 138.7 kB / 0.7071 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1843, allocations: 175.5 kB / 0.7072 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1844, allocations: 21.28 kB / 0.7073 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1845, allocations: 75.7 kB / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.1847, allocations: 71.73 kB / 0.7074 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.1847, allocations: 8 kB / 0.7074 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.1849, allocations: 75.88 kB / 0.7075 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.185, allocations: 43.84 kB / 0.7075 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.674e-05/0.1851, allocations: 67.59 kB / 0.7076 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.1855, allocations: 203.1 kB / 0.7078 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1855, allocations: 3.938 kB / 0.7078 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1855, allocations: 0 / 0.7078 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.1855, allocations: 4 kB / 0.7078 GB, free: 12.68 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.0008514/0.1863, allocations: 449.4 kB / 0.7082 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1864, allocations: 8.031 kB / 0.7082 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.1864, allocations: 20.8 kB / 0.7082 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1867, allocations: 186.2 kB / 0.7084 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.1868, allocations: 384 / 0.7084 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1868, allocations: 16.05 kB / 0.7084 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.187, allocations: 98.59 kB / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.187, allocations: 0 / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.187, allocations: 7.984 kB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.187, allocations: 0 / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1871, allocations: 35.98 kB / 0.7086 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.1877, allocations: 327.7 kB / 0.7089 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1879, allocations: 70.67 kB / 0.709 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.188, allocations: 32.84 kB / 0.709 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.188, allocations: 0 / 0.709 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.1882, allocations: 87.31 kB / 0.7091 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1882, allocations: 0 / 0.7091 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003739/0.1886, allocations: 141.5 kB / 0.7092 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.1886, allocations: 85.09 kB / 0.7093 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.189, allocations: 272.2 kB / 0.7095 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.189, allocations: 25.7 kB / 0.7096 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1891, allocations: 124.1 kB / 0.7097 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1891, allocations: 23.8 kB / 0.7097 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.1892, allocations: 25.7 kB / 0.7097 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1893, allocations: 338.8 kB / 0.7101 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.1894, allocations: 27.98 kB / 0.7101 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1895, allocations: 59.7 kB / 0.7101 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1897, allocations: 81.66 kB / 0.7102 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1897, allocations: 0 / 0.7102 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002295/0.1899, allocations: 113.5 kB / 0.7103 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1899, allocations: 4 kB / 0.7103 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1899, allocations: 8.062 kB / 0.7103 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1899, allocations: 112 / 0.7103 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.19, allocations: 11.94 kB / 0.7103 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.19, allocations: 0 / 0.7103 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.1901, allocations: 15.88 kB / 0.7104 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1901, allocations: 4 kB / 0.7104 GB, free: 9.82 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.0001467/0.1902, allocations: 149.8 kB / 0.7105 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1903, allocations: 11.91 kB / 0.7105 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1906, allocations: 134.9 kB / 0.7106 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.1906, allocations: 4 kB / 0.7107 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1906, allocations: 0 / 0.7107 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1906, allocations: 7.922 kB / 0.7107 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1908, allocations: 196.6 kB / 0.7108 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1908, allocations: 0 / 0.7108 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.1908, allocations: 4 kB / 0.7109 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1908, allocations: 0 / 0.7109 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1908, allocations: 0 / 0.7109 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1908, allocations: 4 kB / 0.7109 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1908, allocations: 4 kB / 0.7109 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1911, allocations: 152.8 kB / 0.711 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.1911, allocations: 11.91 kB / 0.711 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1912, allocations: 4 kB / 0.711 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.1912, allocations: 7.984 kB / 0.711 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1913, allocations: 7.984 kB / 0.711 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.1913, allocations: 11.92 kB / 0.711 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002201/0.1915, allocations: 204.6 kB / 0.7112 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1915, allocations: 0 / 0.7112 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002653/0.1918, allocations: 35.92 kB / 0.7113 GB, free: 8.812 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 (7): * Single equations (assignments): 4 * 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.001647/0.1934, allocations: 418.3 kB / 0.7117 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1937, allocations: 71.89 kB / 0.7117 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1937, allocations: 4 kB / 0.7117 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.1938, allocations: 32.05 kB / 0.7118 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1941, allocations: 44.02 kB / 0.7118 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.1948, allocations: 344.5 kB / 0.7121 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1952, allocations: 0.7278 MB / 0.7129 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.1952, allocations: 15.44 kB / 0.7129 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.1952, allocations: 4 kB / 0.7129 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of Templates: time 0.005494/0.2007, allocations: 2.616 MB / 0.7154 GB, free: 4.688 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.753040645970032] Failed to read output from testmodel.py, exit status != 0: 0.20877471310086548 0.22510975500000002 0.036325183000000004 Calling exit ...