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.001744/0.001744, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002004/0.002004, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.519/1.519, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.8341/0.8341, allocations: 133.9 MB / 442.8 MB, free: 11.3 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.002506/0.002506, allocations: 66.22 kB / 0.6134 GB, free: 8.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1921, allocations: 85.85 MB / 0.6973 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003338/0.1954, allocations: 1.816 MB / 0.699 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1973, allocations: 1.182 MB / 0.7002 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1974, allocations: 7.938 kB / 0.7002 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.1981, allocations: 162.3 kB / 0.7004 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.1984, allocations: 155.5 kB / 0.7005 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1988, allocations: 143.6 kB / 0.7006 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.199, allocations: 167.5 kB / 0.7008 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1991, allocations: 21.09 kB / 0.7008 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1992, allocations: 71.7 kB / 0.7009 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1994, allocations: 75.73 kB / 0.701 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1994, allocations: 8 kB / 0.701 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.1995, allocations: 75.88 kB / 0.701 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.1996, allocations: 39.84 kB / 0.7011 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.1997, allocations: 67.61 kB / 0.7011 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.2, allocations: 207.1 kB / 0.7013 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2, allocations: 0 / 0.7013 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2, allocations: 3.938 kB / 0.7013 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.2, allocations: 4 kB / 0.7013 GB, free: 14.86 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.0007279/0.2007, allocations: 0.4922 MB / 0.7018 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2007, allocations: 9.109 kB / 0.7018 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.2008, allocations: 38.75 kB / 0.7019 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.2008, allocations: 16.8 kB / 0.7019 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.2012, allocations: 267.9 kB / 0.7021 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2012, allocations: 384 / 0.7021 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2012, allocations: 7.938 kB / 0.7022 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2014, allocations: 91.31 kB / 0.7022 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2014, allocations: 0 / 0.7022 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2014, allocations: 0 / 0.7022 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.2014, allocations: 7.938 kB / 0.7022 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.2015, allocations: 39.92 kB / 0.7023 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.202, allocations: 360.7 kB / 0.7026 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2023, allocations: 70.61 kB / 0.7027 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.2023, allocations: 32.83 kB / 0.7027 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2023, allocations: 0 / 0.7027 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.2025, allocations: 83.38 kB / 0.7028 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2025, allocations: 4 kB / 0.7028 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0003537/0.2029, allocations: 141.5 kB / 0.7029 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.2029, allocations: 81.11 kB / 0.703 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.2032, allocations: 268.2 kB / 0.7033 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.2032, allocations: 33.7 kB / 0.7033 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.2033, allocations: 120.1 kB / 0.7034 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.2034, allocations: 27.78 kB / 0.7035 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.2034, allocations: 29.7 kB / 0.7035 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2036, allocations: 326.8 kB / 0.7038 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.2036, allocations: 27.98 kB / 0.7038 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.2037, allocations: 67.34 kB / 0.7039 GB, free: 12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.2039, allocations: 70.11 kB / 0.704 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2039, allocations: 0 / 0.704 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000212/0.2041, allocations: 121.5 kB / 0.7041 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2041, allocations: 4 kB / 0.7041 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2041, allocations: 0 / 0.7041 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2041, allocations: 4.109 kB / 0.7041 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.2042, allocations: 19.88 kB / 0.7041 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2042, allocations: 3.984 kB / 0.7041 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.2043, allocations: 11.89 kB / 0.7041 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.2043, allocations: 8.031 kB / 0.7041 GB, free: 11.75 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.000132/0.2044, allocations: 137.8 kB / 0.7042 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.2044, allocations: 15.91 kB / 0.7043 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.2045, allocations: 21.39 kB / 0.7043 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.2045, allocations: 4 kB / 0.7043 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2045, allocations: 0 / 0.7043 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2045, allocations: 3.938 kB / 0.7043 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.2047, allocations: 233.5 kB / 0.7045 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2047, allocations: 4 kB / 0.7045 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.2047, allocations: 4 kB / 0.7045 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2047, allocations: 0 / 0.7045 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2047, allocations: 4 kB / 0.7045 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2048, allocations: 0 / 0.7045 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2048, allocations: 0 / 0.7045 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.205, allocations: 148.9 kB / 0.7047 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.2051, allocations: 93.02 kB / 0.7048 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2051, allocations: 4 kB / 0.7048 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/0.2051, allocations: 8 kB / 0.7048 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.2052, allocations: 7.922 kB / 0.7048 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2052, allocations: 4 kB / 0.7048 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000208/0.2054, allocations: 207.5 kB / 0.705 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2054, allocations: 0 / 0.705 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002458/0.2056, allocations: 31.94 kB / 0.705 GB, free: 10.73 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.00199/0.2076, allocations: 1.008 MB / 0.706 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2079, allocations: 67.86 kB / 0.7061 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2079, allocations: 0 / 0.7061 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/0.2079, allocations: 39.91 kB / 0.7061 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2083, allocations: 41.38 kB / 0.7061 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.2107, allocations: 1.998 MB / 0.7081 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.211, allocations: 0.728 MB / 0.7088 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.84e-05/0.2111, allocations: 29.7 kB / 0.7088 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.2112, allocations: 47.42 kB / 0.7089 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.2112, allocations: 0 / 0.7089 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2388, allocations: 4.617 MB / 0.7134 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/8.1, allocations: 5.156 kB / 0.7134 GB, free: 2.301 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.930371565002133] Failed to read output from testmodel.py, exit status != 0: 8.22624992299825 8.250851784 8.046427181 Calling exit ...