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.001292/0.001292, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001383/0.001383, allocations: 221.5 kB / 23.05 MB, free: 5.074 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.8645/0.8645, allocations: 134 MB / 447.2 MB, free: 10.24 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) [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.002013/0.002013, allocations: 62.94 kB / 0.6193 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 85.9 MB / 0.7032 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003413/0.184, allocations: 1.827 MB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1862, allocations: 1.205 MB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1863, allocations: 3.938 kB / 0.7062 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007137/0.1871, allocations: 167.5 kB / 0.7063 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.1875, allocations: 155.5 kB / 0.7065 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1879, allocations: 135.6 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.1881, allocations: 175.6 kB / 0.7068 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1883, allocations: 17.58 kB / 0.7068 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1884, allocations: 79.62 kB / 0.7069 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1885, allocations: 75.73 kB / 0.7069 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1885, allocations: 8 kB / 0.707 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1887, allocations: 75.88 kB / 0.707 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.1888, allocations: 43.84 kB / 0.7071 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.1889, allocations: 59.61 kB / 0.7071 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.1892, allocations: 219 kB / 0.7073 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1892, allocations: 4 kB / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1892, allocations: 4 kB / 0.7073 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1892, allocations: 0 / 0.7073 GB, free: 13.15 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.0007557/0.19, allocations: 426.9 kB / 0.7077 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.19, allocations: 8.031 kB / 0.7078 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.639e-05/0.19, allocations: 4.188 kB / 0.7078 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.1901, allocations: 38.73 kB / 0.7078 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.1901, allocations: 24.8 kB / 0.7078 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1904, allocations: 190.1 kB / 0.708 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1905, allocations: 16.11 kB / 0.708 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1905, allocations: 8 kB / 0.708 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1907, allocations: 83.33 kB / 0.7081 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1907, allocations: 0 / 0.7081 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1907, allocations: 7.922 kB / 0.7081 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1907, allocations: 4 kB / 0.7081 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1908, allocations: 39.92 kB / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.1914, allocations: 323.8 kB / 0.7085 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1916, allocations: 70.67 kB / 0.7085 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.1917, allocations: 32.78 kB / 0.7086 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1917, allocations: 4 kB / 0.7086 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1919, allocations: 83.38 kB / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1919, allocations: 0 / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003942/0.1923, allocations: 141.5 kB / 0.7088 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.1923, allocations: 77.11 kB / 0.7089 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1927, allocations: 280.2 kB / 0.7091 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1927, allocations: 25.7 kB / 0.7091 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1928, allocations: 120.1 kB / 0.7093 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.1929, allocations: 31.77 kB / 0.7093 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1929, allocations: 33.72 kB / 0.7093 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1931, allocations: 330.8 kB / 0.7096 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.1932, allocations: 27.98 kB / 0.7097 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.1933, allocations: 55.42 kB / 0.7097 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1934, allocations: 74.02 kB / 0.7098 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1934, allocations: 4.031 kB / 0.7098 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002185/0.1936, allocations: 121.5 kB / 0.7099 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1937, allocations: 11.94 kB / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.1937, allocations: 0 / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1937, allocations: 0 / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.1938, allocations: 15.98 kB / 0.7099 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1938, allocations: 3.938 kB / 0.7099 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.1938, allocations: 11.89 kB / 0.7099 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1939, allocations: 0 / 0.7099 GB, free: 10.25 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.0001509/0.194, allocations: 145.9 kB / 0.7101 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.194, allocations: 15.91 kB / 0.7101 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1943, allocations: 130.9 kB / 0.7102 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1943, allocations: 0 / 0.7102 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1943, allocations: 3.938 kB / 0.7102 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1943, allocations: 4 kB / 0.7102 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1945, allocations: 196.6 kB / 0.7104 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1945, allocations: 0 / 0.7104 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.1946, allocations: 15.98 kB / 0.7104 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1946, allocations: 0 / 0.7104 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1946, allocations: 4 kB / 0.7104 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1946, allocations: 0 / 0.7104 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1946, allocations: 3.938 kB / 0.7104 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1948, allocations: 141 kB / 0.7106 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.1948, allocations: 19.89 kB / 0.7106 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1949, allocations: 4 kB / 0.7106 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.1949, allocations: 8 kB / 0.7106 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.195, allocations: 11.86 kB / 0.7106 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.195, allocations: 4 kB / 0.7106 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002099/0.1952, allocations: 204.6 kB / 0.7108 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 0.7108 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002432/0.1954, allocations: 31.94 kB / 0.7109 GB, free: 9.246 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.001978/0.1974, allocations: 1.005 MB / 0.7118 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1976, allocations: 71.91 kB / 0.7119 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1976, allocations: 0 / 0.7119 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.1977, allocations: 31.98 kB / 0.7119 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1981, allocations: 43.69 kB / 0.712 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.2005, allocations: 1.993 MB / 0.7139 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.2008, allocations: 0.7241 MB / 0.7146 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.646e-05/0.2009, allocations: 21.42 kB / 0.7146 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.014e-05/0.201, allocations: 51.42 kB / 0.7147 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/0.201, allocations: 0 / 0.7147 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.2272, allocations: 4.82 MB / 0.7194 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.43, allocations: 23.31 kB / 0.7194 GB, free: 0.6172 MB / 0.5294 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.203266508993693] Failed to read output from testmodel.py, exit status != 0: 11.648579478031024 11.677625012 11.483134906 Calling exit ...