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.001285/0.001285, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00144/0.00144, allocations: 216.4 kB / 22.25 MB, free: 4.852 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.805 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.9874/0.9874, allocations: 134 MB / 446.4 MB, free: 9.914 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.002034/0.002034, allocations: 67.34 kB / 0.6185 GB, free: 6.988 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1847, allocations: 85.92 MB / 0.7024 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003448/0.1882, allocations: 1.772 MB / 0.7041 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1904, allocations: 1.127 MB / 0.7052 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.1905, allocations: 0 / 0.7052 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.1912, allocations: 159.5 kB / 0.7054 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.1916, allocations: 171.4 kB / 0.7055 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.192, allocations: 135.3 kB / 0.7057 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.1923, allocations: 175.5 kB / 0.7058 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1924, allocations: 13.3 kB / 0.7058 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1925, allocations: 75.75 kB / 0.7059 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1927, allocations: 83.55 kB / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1927, allocations: 8 kB / 0.706 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1929, allocations: 67.94 kB / 0.7061 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.1929, allocations: 47.84 kB / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.193, allocations: 47.67 kB / 0.7062 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1933, allocations: 207.4 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1933, allocations: 4 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1933, allocations: 0 / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1933, allocations: 0 / 0.7064 GB, free: 13.07 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.000807/0.1942, allocations: 438.8 kB / 0.7068 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1942, allocations: 8.031 kB / 0.7068 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1942, allocations: 38.75 kB / 0.7068 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1943, allocations: 20.8 kB / 0.7068 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1946, allocations: 190.2 kB / 0.707 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1946, allocations: 384 / 0.707 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1946, allocations: 19.86 kB / 0.707 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1948, allocations: 77.59 kB / 0.7071 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1948, allocations: 0 / 0.7071 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1948, allocations: 0 / 0.7071 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1949, allocations: 4 kB / 0.7071 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.195, allocations: 35.98 kB / 0.7072 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1955, allocations: 319.7 kB / 0.7075 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1957, allocations: 78.61 kB / 0.7075 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.1958, allocations: 32.84 kB / 0.7076 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1958, allocations: 0 / 0.7076 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.196, allocations: 91.36 kB / 0.7077 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.196, allocations: 0 / 0.7077 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003766/0.1964, allocations: 145.8 kB / 0.7078 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1964, allocations: 51.41 kB / 0.7078 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.1968, allocations: 280.2 kB / 0.7081 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1968, allocations: 29.64 kB / 0.7081 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1969, allocations: 132.1 kB / 0.7083 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1969, allocations: 23.78 kB / 0.7083 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.197, allocations: 37.64 kB / 0.7083 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1972, allocations: 330.8 kB / 0.7086 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.1972, allocations: 24 kB / 0.7087 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1974, allocations: 84.25 kB / 0.7087 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1975, allocations: 69.7 kB / 0.7088 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1975, allocations: 0 / 0.7088 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002287/0.1977, allocations: 129.6 kB / 0.7089 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1977, allocations: 7.938 kB / 0.7089 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1977, allocations: 0 / 0.7089 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1978, allocations: 0 / 0.7089 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.1978, allocations: 12 kB / 0.7089 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1978, allocations: 0 / 0.7089 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.1979, allocations: 19.88 kB / 0.709 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1979, allocations: 0 / 0.709 GB, free: 10.18 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.000156/0.1981, allocations: 141.8 kB / 0.7091 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1981, allocations: 15.91 kB / 0.7091 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.1984, allocations: 131 kB / 0.7092 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1984, allocations: 0 / 0.7092 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1984, allocations: 3.984 kB / 0.7092 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.1984, allocations: 7.938 kB / 0.7093 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1987, allocations: 196.6 kB / 0.7094 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1987, allocations: 0 / 0.7094 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.1987, allocations: 4.094 kB / 0.7094 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1987, allocations: 3.938 kB / 0.7094 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1987, allocations: 0 / 0.7094 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1987, allocations: 0 / 0.7094 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1987, allocations: 8 kB / 0.7095 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.199, allocations: 156.8 kB / 0.7096 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.199, allocations: 19.89 kB / 0.7096 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1991, allocations: 4 kB / 0.7096 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.1991, allocations: 8 kB / 0.7096 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1992, allocations: 7.922 kB / 0.7096 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1992, allocations: 4 kB / 0.7096 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002349/0.1994, allocations: 204.6 kB / 0.7098 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 0 / 0.7098 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002624/0.1997, allocations: 31.94 kB / 0.7099 GB, free: 9.172 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.00229/0.202, allocations: 1.037 MB / 0.7109 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.2022, allocations: 75.95 kB / 0.711 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2022, allocations: 0 / 0.711 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.2023, allocations: 39.92 kB / 0.711 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2026, allocations: 43.67 kB / 0.711 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.2053, allocations: 2.008 MB / 0.713 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2055, allocations: 114.6 kB / 0.7131 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.61e-05/0.2056, allocations: 21.72 kB / 0.7131 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/0.2057, allocations: 47.42 kB / 0.7132 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.2057, allocations: 0 / 0.7132 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.2395, allocations: 5.289 MB / 0.7183 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.45, allocations: 7.922 kB / 0.7183 GB, free: 0.6523 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 & 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.431323852855712] Failed to read output from testmodel.py, exit status != 0: 11.615276270080358 11.637485648 11.440908389 Calling exit ...