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.001979/0.001979, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002406/0.002406, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.961 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.8265/0.8265, allocations: 134 MB / 446.4 MB, free: 10.17 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",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.001987/0.001987, allocations: 68.55 kB / 0.6185 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1745, allocations: 85.91 MB / 0.7024 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003615/0.1782, allocations: 1.832 MB / 0.7042 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1805, allocations: 1.197 MB / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1806, allocations: 3.938 kB / 0.7054 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.1813, allocations: 171.5 kB / 0.7056 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1817, allocations: 155.5 kB / 0.7057 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1821, allocations: 140.6 kB / 0.7059 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1824, allocations: 183.5 kB / 0.706 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.1825, allocations: 13.58 kB / 0.706 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1826, allocations: 79.69 kB / 0.7061 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1827, allocations: 71.73 kB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1827, allocations: 8 kB / 0.7062 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1829, allocations: 71.89 kB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.183, allocations: 47.83 kB / 0.7063 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.1831, allocations: 59.61 kB / 0.7064 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.1834, allocations: 219 kB / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1834, allocations: 0 / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1834, allocations: 0 / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1834, allocations: 4 kB / 0.7066 GB, free: 13.1 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.0007909/0.1842, allocations: 430.9 kB / 0.707 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1842, allocations: 12.03 kB / 0.707 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.1843, allocations: 30.75 kB / 0.707 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.1843, allocations: 24.8 kB / 0.7071 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1846, allocations: 194.1 kB / 0.7072 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1847, allocations: 4.375 kB / 0.7072 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1847, allocations: 11.88 kB / 0.7073 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1849, allocations: 91.38 kB / 0.7073 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1849, allocations: 0 / 0.7073 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1849, allocations: 0 / 0.7073 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.1849, allocations: 4 kB / 0.7073 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1851, allocations: 39.91 kB / 0.7074 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.1856, allocations: 315.8 kB / 0.7077 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1858, allocations: 78.61 kB / 0.7078 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.1859, allocations: 28.84 kB / 0.7078 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1859, allocations: 7.984 kB / 0.7078 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.1861, allocations: 79.38 kB / 0.7079 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1861, allocations: 4 kB / 0.7079 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003687/0.1864, allocations: 149.4 kB / 0.708 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.1865, allocations: 77.11 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.1868, allocations: 276.2 kB / 0.7084 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1868, allocations: 29.7 kB / 0.7084 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.1869, allocations: 120.1 kB / 0.7085 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.187, allocations: 19.8 kB / 0.7085 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.187, allocations: 33.7 kB / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1872, allocations: 334.8 kB / 0.7089 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.1872, allocations: 27.98 kB / 0.7089 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.476e-05/0.1873, allocations: 67.33 kB / 0.709 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.1875, allocations: 69.7 kB / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1875, allocations: 0 / 0.709 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002162/0.1877, allocations: 121.6 kB / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1877, allocations: 4 kB / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1877, allocations: 0 / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1877, allocations: 0 / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.1878, allocations: 19.94 kB / 0.7092 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1878, allocations: 384 / 0.7092 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.1879, allocations: 15.88 kB / 0.7092 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1879, allocations: 0 / 0.7092 GB, free: 10.2 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.0001429/0.188, allocations: 145.9 kB / 0.7093 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.188, allocations: 19.84 kB / 0.7093 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.1883, allocations: 126.9 kB / 0.7095 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.1883, allocations: 3.984 kB / 0.7095 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1883, allocations: 7.984 kB / 0.7095 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1883, allocations: 7.938 kB / 0.7095 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1886, allocations: 196.6 kB / 0.7097 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1886, allocations: 0 / 0.7097 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.1886, allocations: 4 kB / 0.7097 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1886, allocations: 0 / 0.7097 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1886, allocations: 8 kB / 0.7097 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1886, allocations: 0 / 0.7097 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.1886, allocations: 3.984 kB / 0.7097 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1888, allocations: 144.9 kB / 0.7098 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.1889, allocations: 15.91 kB / 0.7098 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1889, allocations: 3.984 kB / 0.7098 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.1889, allocations: 4 kB / 0.7098 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.189, allocations: 15.92 kB / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.189, allocations: 4 kB / 0.7099 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002053/0.1892, allocations: 200.6 kB / 0.71 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1892, allocations: 0 / 0.71 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002429/0.1894, allocations: 35.92 kB / 0.7101 GB, free: 9.199 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.001937/0.1914, allocations: 1.001 MB / 0.7111 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1916, allocations: 75.89 kB / 0.7111 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1916, allocations: 0 / 0.7111 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.1917, allocations: 31.98 kB / 0.7112 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.192, allocations: 46.06 kB / 0.7112 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1943, allocations: 1.993 MB / 0.7132 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1947, allocations: 0.728 MB / 0.7139 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.064e-05/0.1948, allocations: 17.73 kB / 0.7139 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.1948, allocations: 51.41 kB / 0.7139 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1948, allocations: 4 kB / 0.7139 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.2275, allocations: 4.782 MB / 0.7186 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 19.41 kB / 0.7186 GB, free: 0.5977 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.186073622004187] Failed to read output from testmodel.py, exit status != 0: 11.38081625400082 11.396877611 11.21045801 Calling exit ...